Archive | February, 2007

20 February 2007 ~ 0 Comments

Quote of the Day

With regard to the fragility of software:
“It’s like driving a bulldozer out on a frozen pond man…” – Ryan

Continue Reading

19 February 2007 ~ 6 Comments

Hibernate, Oracle, Sequences, Triggers, and Off-by-One’s

Hibernate and Oracle triggers may both need to set the primary key value when inserting a row into the database – here’s how to make them play nice together.
Oracle users typically use a combination of a trigger and a sequence to achieve what many databases support natively – the concept of an Identity data type [...]

Continue Reading

05 February 2007 ~ 0 Comments

Computer Formatted Number Output in FreeMarker

Something any FreeMarker templater should know when creating links that contain numeric values:
From the FreeMarker reference:
Warning!
As you can see, interpolations print for human audience (by default at least), as opposed to “computer audience”. In some cases this is not good, like when you print a database record ID-s as the part of an URL or [...]

Continue Reading