Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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:

# *

  1. POM
  1. references
*
  1. :
##
    1. hibernate
    1. artifact,
    1. v
    1. 3.2.5ga
\
    1. ->
    1. hibernate-core
    1. artifact
    1. v
    1. 3.6.10.Final
##
    1. ehcache
    1. artifact
    1. v
    1. 1.2.3
\
    1. ->
    1. ehcache-core
    1. artifact
    1. 2.4.3
##
    1. javassist
    1. dependency
    1. now
    1. has
    1. default
    1. scope
    1. (was
_
    1. test
_
    1. )
# *
  1. Spring
  1. Context
  1. changes
* ##
    1. All
    1. references
    1. to
{
Panel
Wiki Markup
Code Block
}
    1. 
      <prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
      
{code}
    1. replaced
    1. by
{
    1. Code Block
}
    1. 
      <prop key="hibernate.cache.region.factory_class">net.sf.ehcache.hibernate.EhCacheRegionFactory</prop>
{code} # *Hibernate Mapping file changes* ## All
  1. Hibernate Mapping file changes
    1. All hbm.xml
    1. files
    1. have
    1. had
    1. the
    1. DTD
    1. URL
    1. changed:
{
    1. Code Block
}
    1. 
      http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
      
{code}
    1. is
    1. replaced
    1. by
{
    1. Code Block
}
    1. 
      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
  1. Java Code changes:
    1. NonSubjectAcademicCredit: id changed from String to Long
    2. CourseOptionUserType: Changes in nullSafeGet and nullSafeSet methods due to deprecated Hibernate features.
    3. TestHibernateCourseDao: Expanded to cover changes in CourseOptionUserType
    4. AbstractLabeledEnumUserType: Changes in persistentType method due to deprecated Hibernate features.
    5. 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]

.