[jboss-user] [JBoss Tools] - Hibernate tools for Hibernate 4.x

Marcel Stör do-not-reply at jboss.com
Thu Aug 9 08:17:04 EDT 2012

Marcel Stör [https://community.jboss.org/people/marcelstoer] created the discussion

"Hibernate tools for Hibernate 4.x"

To view the discussion, visit: https://community.jboss.org/message/752813#752813

What's the status of Hibernate tools for Hibernate 4.x?

h5. Problem
After upgrading to Hibernate 4.x the hibernate3-maven-plugin 3.0 failed. It uses hibernate-tools 3.2.4.GA internally. I could work around the issues by adding an explicit dependency to Hibernate 3.6 like so


This, however, has negative side-effects because new Hibernate 4 features are not present while running hbm2ddl.
Thanks to the new data type auto-registration in Hibernate 4 (put to work by Usertype for Joda Time data types) we were able to remove all @Type(type = "org.jadira.usertype.dateandtime.joda.PersistentDateTime") annotations from our entities. Now while running hbm2ddl in Maven "works" the generated schema doesn't contain proper data type declarations because Hibernate 3.6 doesn't know about Joda Time.

h5. Hibernate tools on Github
I saw that there's some action on  https://github.com/hibernate/hibernate-tools/ https://github.com/hibernate/hibernate-tools/. How likely is it that building the latest 4.0.0 SNAPSHOT from there myself will fix the above mentioned issues?


Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120809/76549ff1/attachment.html 

More information about the jboss-user mailing list