Upgrade to Hibernate 4.3.x

Description

hibernate 4.1.x is need for JPA2 support which is new and improved standard for ORM

Environment

ALL

Test Plan

None
66% Done
Loading...

depends on

Activity

Show:

Matthew Jones June 15, 2017 at 12:13 PM

I think we need to mention in the documentation that there is a new dialect for MySQL 5.7 and MariaDB users.

hibernate.dialect=org.hibernate.dialect.MySQL57InnoDBDialect

I feel like this is working much better for me with the latest maria drivers. I'm thinking of restarting nightly this weekend to pick up an update for MySQL 5.7?

Matthew Jones February 24, 2017 at 7:22 AM

Re-opening to commit missed equality in edu-services

Earle Nietzel December 1, 2016 at 11:06 PM

I have a working version of the upgrade to hibernate 4.3.11 that needs a little more refinement before I make a PR. This will be a nice addition for Sakai 12.

Matthew Jones April 6, 2015 at 10:24 AM

As an FYI, it looks like as of 2014 hibernate4.support.HiberanteDaoSupport was added to help for hibernate 3 migrations. so that should make this migration quite a bit more likely to happen.

https://jira.spring.io/browse/SPR-11291
http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/hibernate4/support/HibernateDaoSupport.html

Matthew Jones March 18, 2014 at 10:55 AM

Yeah, there's over 1500 usages of getHiberateTemplate in the core code alone. It looks like it all has to be changed over.

http://stackoverflow.com/questions/18002768/why-hibernatetemplate-isnt-recommended

workarounds don't seem that great. :/
http://stackoverflow.com/questions/12158294/upgrading-to-hibernate-4-1-and-the-infamous-hibernatetemplate

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 18, 2012 at 8:07 AM
Updated October 12, 2021 at 5:41 PM
Resolved February 24, 2017 at 7:22 AM