[
https://hibernate.onjira.com/browse/OGM-164?page=com.atlassian.jira.plugi...
]
Sanne Grinovero updated OGM-164:
--------------------------------
Description:
Basically the method
org.hibernate.ogm.jpa.HibernateOgmPersistence.createContainerEntityManagerFactory(PersistenceUnitInfo,
Map)
when checking on {code}persistenceProviderClassName == null{code} should return null
rather than attempt to start OGM.
trivial fix but requires a test as this wasn't covered.
was:
Basically the method
org.hibernate.ogm.jpa.HibernateOgmPersistence.createContainerEntityManagerFactory(PersistenceUnitInfo,
Map)
should not have the check on {code}persistenceProviderClassName == null{code} but return
null.
trivial fix but requires a test as this wasn't covered.
When persistence provider is not specified the EMF creation taking a
PersistenceUnitInfo defaults to OGM instead of plain ORM
-----------------------------------------------------------------------------------------------------------------------------
Key: OGM-164
URL:
https://hibernate.onjira.com/browse/OGM-164
Project: Hibernate OGM
Issue Type: Bug
Components: core
Reporter: Sanne Grinovero
Fix For: 4.0-next
Basically the method
org.hibernate.ogm.jpa.HibernateOgmPersistence.createContainerEntityManagerFactory(PersistenceUnitInfo,
Map)
when checking on {code}persistenceProviderClassName == null{code} should return null
rather than attempt to start OGM.
trivial fix but requires a test as this wasn't covered.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira