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)
should not have the check on {code}persistenceProviderClassName == null{code} but return
null.
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