Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 2.2 M4 Sprint 2
-
Fix Version/s: 2.2 M4 Sprint 3, 2.2 M4
-
Component/s: JPA Support
-
Labels:None
Description
For the tests of the JPA Adapter we have to downgrade from Hibernate 4.0.x to Hibernate 3.6.x in order to make it work for Spring 3.0.7.
Officially Hibernate 4.0.x is only supported starting with Spring 3.1.
The JPA code works actually fine with 4.0 also - but when using the JdbcTemaplate (In my test to delete records) in conjunction with Hibernate and JpaTransactionManager, I noticed a breaking incompatibility.
java.lang.NoSuchMethodError: org.hibernate.Session.connection()Ljava/sql/Connection;