This is a summary of the changes needed for CSF to upgrade from Hibernate 3.2.5 to 3.6.10.
In brief, the changes are minimal:
- POM references:
- hibernate artifact, v 3.2.5ga -> hibernate-core artifact v 3.6.10.Final
- ehcache artifact v 1.2.3 -> ehcache-core artifact 2.2.0
- javassist dependency now has default scope (was test)
- Spring Context changes:
- All references to hibernate.cache.provider_class replaced by hibernate.cache.region.factory_class
- Java Code changes:
- NonSubjectAcademicCredit: id changed from String to Long
- CourseOptionUserType: Changes in nullSafeGet and nullSafeSet methods due to deprecated Hibernate features.
- TestHibernateCourseDao: Expanded to cover changes in CourseOptionUserType
- AbstractLabeledEnumUserType: Changes in persistentType method due to deprecated Hibernate features.
- HibernateEvaluationSubjectGroupDao and HibernateEvaluationResponseDao: Changes in use of DistinctRootEntityResultTransformer due to Hibernate change.
Full set of diffs for the changes are here