Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIbernateJpaSessionFactory only works for hibernate < 4.3 [SPR-12401] #17009

Closed
spring-projects-issues opened this issue Oct 31, 2014 · 1 comment
Assignees
Labels
status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Marten Deinum opened SPR-12401 and commented

The JPA classes for hibernate have been modified to work with Hibernate 4.3 and earlier versions. However the HibernateJpaSessionFactoryBean only works on hibernate versions < 4.3. This always uses the org.hibernate.ejb.HibernateEntityManagerFactory interface whereas in hibernate 4.3 this is org.hibernate.jpa.EntityManagerFactory.


Affects: 4.0.7, 4.1.1

Reference URL: http://stackoverflow.com/questions/26667910/no-currentsessioncontext-configured

Referenced from: commits 4729483, bf5739c

Backported to: 4.0.8

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Good catch! This slipped through when we did the Hibernate 4.3 revision...

Juergen

@spring-projects-issues spring-projects-issues added type: bug A general bug status: backported An issue that has been backported to maintenance branches labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.1.2 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants