Note that there have been a significant number of breaking API changes in Hibernate 4, therefore we will most likely have to maintain 2 separate hibernate plugins for Hibernate 3 and 4. This makes it a non-trivial effort to resolve this issue in the short term.
Graeme Rocher
added a comment - Note that there have been a significant number of breaking API changes in Hibernate 4, therefore we will most likely have to maintain 2 separate hibernate plugins for Hibernate 3 and 4. This makes it a non-trivial effort to resolve this issue in the short term.
Bobby Warner
added a comment - There's a new branch for this on grails-core – https://github.com/grails/grails-core/tree/hibernate4 Feel free to contribute! Thanks, Bobby
Being able to use Hibernate v4 would be a huge gain, because using v3 only prevents using newer versions of JodaTime and the usertype libraries, since it only supports hibernate >= v4 as of version 2.0 of the usertype libraries.
Rick Jensen
added a comment - Being able to use Hibernate v4 would be a huge gain, because using v3 only prevents using newer versions of JodaTime and the usertype libraries, since it only supports hibernate >= v4 as of version 2.0 of the usertype libraries.
Raviteja
added a comment - Just as a note, please do consider for Hibernate v5 since it would be out for production once this issue will gain traction.
https://community.jboss.org/wiki/HibernateRoadmap?_sscc=t
I will also do my best if I can contribute anything towards this issue. Thanks
Burt Beckwith
added a comment - We'll support both Hibernate 3 and 4, so all core code was moved into the plugins. The Hibernate 4 plugin source is at https://github.com/grails-plugins/grails-hibernate4-plugin and it depends on https://github.com/SpringSource/grails-data-mapping/tree/master/grails-datastore-gorm-hibernate4 . There is an initial shapshot plugin that you can test with
":hibernate:4.1.11.BUILD-SNAPSHOT"
in BuildConfig.groovy, and when 2.3 is released you can use
":hibernate:4.1.11"
http://grails.1312388.n4.nabble.com/Grails-Multi-Tenancy-and-Hibernate-4-td4320896.html