问题
I use Spring
framework 4.3.2.RELEASE
I saw on a tutorial site that both Spring
and Hibernate
must match their versions in order to integrate Hibernate
with Spring
.
So what is the appropriate version of Hibernate
for Spring
4.3.2.RELEASE ?
回答1:
Read the link https://spring.io/blog/2016/06/10/spring-framework-4-3-goes-ga Seems to me Hibernate 5.2 is the way to go.
回答2:
I belive that correct answer is Hibernate 4.* try with Hibernate Core 4.3.6.Final.
回答3:
From the Spring point of view with Spring 4.3.2 you can use any Hibernate version up to the latest 5.2. For example i have used Spring with Hibernate 4.3.7 and Hibernate 5.0.7 so there does not have to be an exact match of versions.
来源:https://stackoverflow.com/questions/38914731/which-version-of-hibernate-is-suited-for-spring-4-3-2