Skip to content

Downgrade Hibernate 4.0.1 to 3.6.10 for Tests [INT-2693] #6669

@spring-operator

Description

@spring-operator

Gunnar Hillert opened INT-2693 and commented

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;

Affects: 2.2 M4 Sprint 2

This issue is a sub-task of #6666

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions