Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions