Hibernate 3.0

Home Forum Chat Forum Hibernate 3.0

Viewing 7 posts - 1 through 7 (of 7 total)
  • Hibernate 3.0
  • Premier Icon molgrips

    Following on from WCA I have a few days to learn Hibernate. I already know a bit, but I need to put it on my CV and I have to know a bit more than a bit. Wish me luck.

    Eat a lot.
    Find a nice cave.


    We use it at work.


    Premier Icon molgrips

    That’s learning TO hibernate.


    Download the .org version is probably a good place to start.

    We sell/support the enterprise version & head up the upstream community work. It’s good to see people using our products 🙂

    Wish i could help you, but i work with the o/s & not middleware.

    We use at work; Good Luck!

    [actually it’s been a boon saving huge amounts of labour]

    I recall there are a couple of ways to use it

    1. Design some classes you want persisted in MySQL, perhaps in a UML tool, exporting them to Java get it to auto-gen and it will then deal with it
    2. Design a database you want Java access to, perhaps in a UML tool, exporting it to SQL, stuff in your MySQL db then get Hibernate to gen the Java library. Tada you have a Java DAO!

    I prefer option 2 because it encourages a better information model which tends to pay off in the long run.

    Watch out for exception handling. Had prbs getting it to reliably tell when it’s lost DB connection.

    That’s learning TO hibernate.

    or learning Hibernate 2?

    sorry igmc

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Hibernate 3.0’ is closed to new replies.