The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Further Down the Trail
Subject:  Objects and Hibernate layer
Date:  2005-11-16 22:45:43
From:  cheezit


I tried Ruby On Rails, then found trails. trails is great cos it uses proven technologies, but definitely is a bit more involved.

I just reconfigured Hibernate to talk to MySql. Works fine but, unlike the HSQL stuff, I had to manually create the table structures based on errors that I saw on the web page.

ROR is nice cos you can build from the data tier out and then customize the MVC pieces as necessary. With trails, the model comes first but at the same time it must be in sync with the data persistence layer.

My question is more a Hibernate issue---can Hibernate autocreate the tables based on the java annotations? Or does trails pretty much require round-trip between defining the model and defining the persistence layer to match?

 Feed java.net RSS Feeds