Which version of Hibernate is suited for Spring 4.3.2?

我与影子孤独终老i 提交于 2019-12-22 13:47:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!