public interface PersistenceUnitService
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManagerFactory |
getEntityManagerFactory()
get the entity manager factory that represents the persistence unit service.
|
String |
getScopedPersistenceUnitName()
Gets the scoped name of this persistence unit.
|
javax.persistence.EntityManagerFactory getEntityManagerFactory()
null
if this service has not been started or has been stoppedString getScopedPersistenceUnitName()
Copyright © 2018 JBoss by Red Hat. All rights reserved.