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

PersistenceProvider enum should also match org.hibernate.jpa.HibernateEntityManager [DATAJPA-444] #846

Closed
spring-projects-issues opened this issue Jan 8, 2014 · 2 comments
Assignees
Labels
in: core Issues in core support type: bug A general bug

Comments

@spring-projects-issues
Copy link

Shiro opened DATAJPA-444 and commented

With Hibernate 4.3 the package for HibernateEntityManager changed to org.hibernate.jpa.HibernateEntityManager.

The lack of support for the new location leads to a QueryCreationException because of an erroneous fallback to GENERIC_JPA which sets canExtractQuery() to false.

PersistenceProvider should also match the new location to HIBERNATE or a new enum value which returns true for canExtractQuery()


Affects: 1.5 M1 (Codd), 1.4.3 (Babbage SR2)

Backported to: 1.4.4 (Babbage SR3)

@spring-projects-issues
Copy link
Author

Thomas Darimont commented

Added PR: #55

@spring-projects-issues
Copy link
Author

Thomas Darimont commented

Please revise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants