[
https://issues.jboss.org/browse/FORGE-2030?page=com.atlassian.jira.plugin...
]
Antonio Goncalves commented on FORGE-2030:
------------------------------------------
Yes, {{org.hibernate.ejb.HibernatePersistence}} is deprecated, Intellij Idea gives you a
nice warning in your {{persistence.xml}}. It will be much nicer to have
{{org.hibernate.jpa.HibernatePersistenceProvider}}. An easy way to set it up would be to
have a new provider option, like HIBERNATE4 : {{jpa-setup --provider HIBERNATE4}}
Update Hibernate provider to HibernatePersistenceProvider
---------------------------------------------------------
Key: FORGE-2030
URL:
https://issues.jboss.org/browse/FORGE-2030
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 2.10.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
From Hibernate 4.x onwards, the JPA provider is now
{{org.hibernate.jpa.HibernatePersistenceProvider}} instead of
{{org.hibernate.ejb.HibernatePersistence}}. By default, when {{jpa-setup}} sets the
version of JPA to 2.1, the new provider should be used.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)