You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been addressed in #18899 already, for release in 4.3 GA this week. Unfortunately Hibernate all of a sudden broke an API which has been stable for more than ten years, without any milestones or release candidates or other advance warnings, so it was a surprise to us as well.
For use with Spring Framework 4.2.x, we recommend Hibernate ORM up until 5.1. You'll have to upgrade to Spring Framework 4.3 in order to pick up Hibernate ORM 5.2 (which is a pretty major upgrade anyway, not just in terms of integration with Spring).
I have upgraded spring framework to 4.3 and using hibernate 5.2 but I am facing issues.Like : Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: org/hibernate/HibernateException : Unsupported major.minor version 52.0
Activity
spring-projects-issues commentedon Jun 6, 2016
Juergen Hoeller commented
This has been addressed in #18899 already, for release in 4.3 GA this week. Unfortunately Hibernate all of a sudden broke an API which has been stable for more than ten years, without any milestones or release candidates or other advance warnings, so it was a surprise to us as well.
For use with Spring Framework 4.2.x, we recommend Hibernate ORM up until 5.1. You'll have to upgrade to Spring Framework 4.3 in order to pick up Hibernate ORM 5.2 (which is a pretty major upgrade anyway, not just in terms of integration with Spring).
spring-projects-issues commentedon Aug 8, 2016
jyoti commented
I have upgraded spring framework to 4.3 and using hibernate 5.2 but I am facing issues.Like : Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: org/hibernate/HibernateException : Unsupported major.minor version 52.0
spring-projects-issues commentedon Aug 8, 2016
Juergen Hoeller commented
This simply indicates that Hibernate 5.2 requires JDK 8 now, and you're probably running on JDK 7...