[hibernate-issues] [Hibernate-JIRA] Created: (OGM-164) When persistence provider is not specified the EMF creation taking a PersistenceUnitInfo defaults to OGM instead of plain ORM
Sanne Grinovero (JIRA)
noreply at atlassian.com
Wed Apr 25 10:51:48 EDT 2012
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
More information about the hibernate-issues
mailing list