Hello,
I have a complicated problem.
My project is using JPA with a few hibernate annotations. Hibernate is used via spring and the DAOs extends HibernateDaoSupport.
I've written "unit" tests for my daos using hsql data base.
While everything works fine with the present configuration, if I upgrade hibernate the test stop when the firsts dao method is called. It doesn't crash, nor seem to loop, just stop. the program must be killed.
The dependencies are managed with maven. The spring version is 2.5.6.
With this versions of hibernate artifacts it works (from maven central) :
groupId : hibernate, artifactId : hibernate3, version : 3.2.3.GA
groupId : org.hibernate, artifactId : ejb3-persistence, version : 3.0
groupId : org.hibernate, artifactId : hibernate-annotations, version : 3.3.0.ga
groupId : org.hibernate, artifactId : hibernate-commons-annotations, version : 3.3.0.ga
And with those It doesn't :
groupId : org.hibernate, artifactId : hibernate-core, version : 3.3.1.GA
groupId : org.hibernate, artifactId : hibernate-annotations, version : 3.4.0.GA
groupId : org.hibernate, artifactId : ejb3-persistence, version : 3.0
groupId : org.hibernate, artifactId : hibernate-commons-annotations, version : 3.3.0.ga
I had to explicity include some transitive dependencies :
groupId : org.slf4j, artifactId : slf4j-api, version : 1.5.6
groupId : org.slf4j, artifactId : slf4j-log4j12, version : 1.5.6
groupId : javassist, artifactId : javassist, version : 3.9.0.GA
I don't post the spring configuration (yet) because it's complicated.
I ask if anyone knows of a change or issue that can cause this problem ? If you need more information, I can provide it.
|