New features of Hibernate 3.0

I gave a talk at the AJUG-QLD tonight on the new features of Hibernate 3.0.
Here are the slides

Continue reading “New features of Hibernate 3.0”

Remember to read the errata!

I’d introduced a Hibernate user type into the code base a few days ago. I’d based it on an example in the (more or less) wonderful book Hibernate in Action Naturally, however, I’d copied the example with a bug in it!

Continue reading “Remember to read the errata!”

Another good use for named queries

A while back, I blogged about how Hibernate named queries rock I found another reason why they rock today: it lets you hide what your persistent properties are called.

Continue reading “Another good use for named queries”

Hibernate named queries rock

I’m now working on my second project with Hibernate, having delivered the first, and I’m playing with some of the features I didn’t have time to figure out last time. And I have to say: named queries rock, big time.

Continue reading “Hibernate named queries rock”

Roll-Your-Own IoC with Hibernate

It can be pretty useful to supply dependencies to domain objects that you’re loading via Hibernate This is where Hibernate Interceptors come into play.
Continue reading “Roll-Your-Own IoC with Hibernate”