You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Below is the summery of the experiment.  After the changes below all unit tests run successfully in all csf components.

  1. For compliation
    One line in HibernateEvaluationResponseDao.java and in HibernateEvaluationSubjectGroupDao.java has to be changed from:
    new DistinctRootEntityResultTransformer()
    
    and must be changed to
    DistinctRootEntityResultTransformer.INSTANCE
    
  2. For running unit tests:
    • The following dependency had to be added to the pom file.
      <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)
      <dependency>
          <groupId>javassist</groupId>
          <artifactId>javassist</artifactId>
          <version>3.12.1.GA</version>
      </dependency>
      
  • No labels