We\'re using Spring ORM 4.2.1.RELEASE to interact with Hibernate via JPA. Everything works fine with Hibernate 4.3.11.Final, but when we try to upgrade to Hibernate 5, it br
This error has nothing to do with Spring. You have an Hibernate 5 incompatible Integrator in your classpath. These are detected through the ServiceRegistry.
A common issue is older versions of Jadira Usertype which is not compatible with Hibernate 5. If you have Jadira User type prior to version 5.0.0 in your classpath you will get this exception. If that is not the case for you, and you are unsure of which library you are having an issue with, put a breakpoint on line 278 of SessionFactoryImpl and check out the class of the Integrator that causes the exception.