Wiki Markup |
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.4.3
## - javassist
- dependency
- now
- has
- default
- scope
- (was
_- test
_- )
# *
- Spring
- Context
- changes
*
## - All
- references
- to
{
} |
---|
<prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
|
{code}
- replaced
- by
{
} |
---|
<prop key="hibernate.cache.region.factory_class">net.sf.ehcache.hibernate.EhCacheRegionFactory</prop> |
{code}
# *Hibernate Mapping file changes*
## All
- Hibernate Mapping file changes
- All hbm.xml
- files
- have
- had
- the
- DTD
- URL
- changed:
{
} |
---|
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
|
{code}
- is
- replaced
- by
{
} |
---|
http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd |
{code}
# *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.
\[Obsolete, but gives an indication of what the changes were: Full set of diffs for the changes are [here|^csf-hibernate-diffs.txt]\]
Update: iap-csf upgraded
- 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.
[Obsolete, but gives an indication of what the changes were: Full set of diffs for the changes are here] Update: iap-csf upgraded 1/17/13. Patch file [here |^csf-iap-hibernate-upgrade.patch].
|