Hibernate 3.x Migration Guide

Posted by Mike Blake Thu, 26 Apr 2007 11:30:00 GMT

Update 4/30
I finally did find the real Hibernate 3 Migration Guide. My fun with Hibernate is over though, I’ve found an easier persistence solution with the clients homegrown method. I believe every single java project I’ve worked on in the past 10 years has used a different and unique Persistence mechanism. My favorite was Francois’ PersistentEntity at ViaFone.

I’ve been strugling for the last day trying to get a Java application working, mainly, trying to get Hibernate to see a DataSource. Now I’m at a point where I get this error message:

[junit] (cfg.Configuration 1312) configuring from resource: /hibernate.cfg.xml

[junit] (cfg.Configuration 1289) Configuration resource: /hibernate.cfg.xml

[junit] (util.DTDEntityResolver 30 ) Don’t use old DTDs, read the Hibernate 3.x Migration Guide!

A quick search does not turn up a Hibernate Migration Guide, so I decided to create this one:

The Hibernate 3.x Migration Guide

1. Get Ruby

2. Install Rails

3. Rebuild your application.

4. Have fun again!

Posted in  | Tags , , ,  | no comments | no trackbacks