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.
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.
Just as a note, please do consider for Hibernate v5 since it would be out for production once this issue will gain traction.
I will also do my best if I can contribute anything towards this issue. Thanks
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
in BuildConfig.groovy, and when 2.3 is released you can use