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


Thanks to Peoplebank for sponsoring this month’s meeting (and thus my talk).

Disclaimer: there’s nothing in the slides that isn’t on the Hibernate web site; my sources were the Features and Roadmap section of the web site, the online manual, and the migration guide.

The slides are licensed under the usual Creative Commons license for my site. If, for some reason, you want to use these slides and want the original, just ask me.

Advertisements

Author: Robert Watkins

My name is Robert Watkins. I am a software developer and have been for over 18 years now. I currently work for people, but my opinions here are in no way endorsed by them (which is cool; their opinions aren’t endorsed by me either). My main professional interests are in Java development, using Agile methods, with a historical focus on building web based applications. I’m also a Mac-fan and love my iPhone, which I’m currently learning how to code for. I live and work in Brisbane, Australia, but I grew up in the Northern Territory, and still find Brisbane too cold (after 16 years here). I’m married, with two children and one cat. My politics are socialist in tendency, my religious affiliation is atheist (aka “none of the above”), my attitude is condescending and my moral standing is lying down.

6 thoughts on “New features of Hibernate 3.0”

  1. Thanks for the slides Robert, wish I could have been there (wife sick, and I didn’t think bringing along a loud 2 year old would have been good form).

    The “filtering” feature is awesome. I can think of several cases where that would have been a god send in the past ! (it is one of those things you don’t know you need until you need it !).

    Not sure about the XML support – is this deviating from the main mission of hibernate? (Gavin seems to have the resources now anyway).

    What is the issue with ANTLR HSQL parsing and weblogic if I may ask?

  2. Nice one Robert. If only the Victorian chapter would be as active as QLD.

    One of the limiting features of prior Hibernate releases was its lack of support for stored procedures. Do you know if this has been changed?

    Jem

  3. Michael,

    The issue with WebLogic is that BEA include an old version of ANTLR inside the “kitchen-sink” weblogic.jar. You need to override it by placing the right ANTLR jar file on the classpath _before_ weblogic.jar

    The XML support has some interesting use cases, primarily when you want the output in an XML form sooner or later anyway. Web services spring to mind, as do some other query or reporting scenarios (essentially those where you don’t have domain logic to worry about). It also provides a good mechanism for doing extract/transform/load type operations (such as populating your database with test data!)

    Jeremy:

    When you use the hand-written SQL, you can call stored procedures. One catch is that you need to make sure the parameters of the stored procedure match the order that Hibernate expects (i.e. the order they occur in the mapping file)

  4. Ah yeah the apache “internet://**/*.jar” build process they must use (I always use it as an example of kitchen sink jar-ing – its almost like they get away with breaking the rule but no one else does).

    I trust that ANTLR is backwards compatible anyway… but it is effectively patching weblogic.

  5. I have used Enhydra Octopus for DB -> XML and basic ETL before, so the hibernate advantage didn’t really jump out at me, but I am sure people will come up with interesting uses of it !

    Overall, am very excited about Hibernate 3 ! (more so then I should be about an obscure library that I was trying to explain to my wife what it does).

  6. The feature I want to play with the most is the query stats; being able to identify the HSQL that’s causing long running queries will be a big step up from having to decrypt the generated SQL inside the database.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s