Description
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:
- Support for Hibernate ORM 5.0 [SPR-11694] #16316 Support for Hibernate ORM 5.0
0 votes, 6 watchers