Skip to content

Compatibility problems with Hibernate 4.3.0.Beta1 and newer [SPR-10839] #15465

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dave Schoorl opened SPR-10839 and commented

In Hibernate release 4.3.0.Beta1, released in April 2013, a couple of classes were moved from the org.hibernate.service.* packages to org.hibernate.engine.* packages. Spring ORM uses a couple of these relocated hibernate classes, but has not anticipated the package renaming introduced in Hibernate 4.3.0.Beta1. It concerns esp. org.hibernate.service.jta.platform.spi.JtaPlatform (used in org.springframework.orm.hibernate4.SpringSessionContext) and org.hibernate.service.jdbc.connections.spi.ConnectionProvider (used in org.springframework.orm.hibernate4.SessionFactoryUtils). As a result, you cannot use the latest Hibernate 4.3.x versions with Spring in many scenario's.

In our use case, we run Axis2 web services in Tomcat, where older web services use plain Hibernate while for new web services, we want to use JPA 2.1 (which is supported in hibernate as of release 4.3.0). It is not possible to share the same version of spring / hibernate for these different web services due to this issue.


Affects: 3.2.4, 4.0 M2

Issue Links:

0 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions