April 2009 Archives

Hibernate and auto-generated timestamps

| No Comments | No TrackBacks

I've started using the object-relational mapper Hibernate recently. After studying the book "Introduction to Hibernate" by Minter/Linwood for a couple of days (not the most entertaining and inspring programming book I've read...) and trying examples, I felt ready to put my new knowledge to use. My first project was to convert an existing web application from using my own custom/proprietary O/R mapping to Hibernate, so it could be extended more easily and to be able to use one of the ready-made caches that come with Hibernate. It worked out well - even though creating the mappings caused me some headaches at times - and once you know Hibernate you  absolutely don't wanna go back to the "manual" way.