Integrate Hibernate 5.2 with Spring framework 4.x

后端 未结 3 477
孤城傲影
孤城傲影 2020-12-03 05:09

I am using latest stable Spring version (4.2.6.RELEASE).

After upgrading Hibernate from 5.1 to 5.2 and changing hibernate-entitymanager dep

3条回答
  •  囚心锁ツ
    2020-12-03 05:28

    The issue is related to the versions only. Use Hibernate version 5.1.0 with Spring 4.3.7. It will solve this issue.
    Add the below dependency along with Spring framework dependencies of version 4.3.x .

    
        org.hibernate
        hibernate-entitymanager
        5.1.0.Final
    `
    

提交回复
热议问题