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

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}

  After the changes below all unit tests run successfully in all csf components.

  1. For compilation:
    • One line in HibernateEvaluationResponseDao.java and in HibernateEvaluationSubjectGroupDao.java has to be changed from:
Panel
Wiki Markup
Code Block

new DistinctRootEntityResultTransformer()
{code}
    • and
    • must
    • be
    • changed
    • to
{
    • Code Block
}
    • 
      DistinctRootEntityResultTransformer.INSTANCE
      
{code} # *For running unit tests:* #* The following dependency had to be added to the pom file. {code}
  1. For running unit tests:
    • The following dependency had to be added to the pom file.
      Code Block
      
      <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-ehcache</artifactId>
          <version>3.5.6.Final</version>
      </dependency>
      
{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}
    • 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
      
      <dependency>
          <groupId>javassist</groupId>
          <artifactId>javassist</artifactId>
          <version>3.12.1.GA</version>
      </dependency>
{code}
    •