Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Panel
Wiki Markup

Below is the summary of the experiment.
  After the changes below all unit tests run successfully in all csf components. For compilation: One line in HibernateEvaluationResponseDao.java and in HibernateEvaluationSubjectGroupDao.java has to be changed from:
Code Block
  After the changes below all unit tests run successfully in all csf components. 
# *For compilation:*
#* One line in HibernateEvaluationResponseDao.java and in HibernateEvaluationSubjectGroupDao.java has to be changed from:
{code}
new DistinctRootEntityResultTransformer()
{code}
and must be changed to

{code
}
DistinctRootEntityResultTransformer.INSTANCE
For running unit tests: The following dependency had to be added to the pom file. Code Block

{code}
# *For running unit tests:*
#* The following dependency had to be added to the pom file.
{code}
<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-ehcache</artifactId>
    <version>3.5.6.Final</version>
</dependency>
  • The id sequence generator no longer supports the type String. As a result, the domain object NonSubjectAcademicCredit must extend AbstractDomainLongIdBase instead of AbstractDomainStringIdBase.
    Also, the hbm mapping should be updated accordingly. (Note: The type in the database is NUMBER, so it should have been Long from the beginning!!)
  • Workflow complained about missing classes so the following had to be added to the pom file (Note: it really should be added to the workflow pom file and not common-legacy) Code Block
    {code}
    #* The id sequence generator no longer supports the type String. As a result, the domain object NonSubjectAcademicCredit must extend AbstractDomainLongIdBase instead of AbstractDomainStringIdBase.
    Also, the hbm mapping should be updated accordingly. (Note: The type in the database is NUMBER, so it should have been Long from the beginning!!)
    #* Workflow complained about missing classes so the following had to be added to the pom file (Note: it really should be added to the workflow pom file and not common-legacy)
    {code}
    <dependency>
        <groupId>javassist</groupId>
        <artifactId>javassist</artifactId>
        <version>3.12.1.GA</version>
    </dependency>
    {code}