Uses of Interface
org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
-
Uses of OpenJPAEntityManagerFactory in org.apache.openjpa.persistence
Modifier and TypeClassDescriptionclass
Implementation ofEntityManagerFactory
that acts as a facade to aBrokerFactory
.Modifier and TypeMethodDescriptionstatic OpenJPAEntityManagerFactory
OpenJPAPersistence.cast
(jakarta.persistence.EntityManagerFactory emf) Return the OpenJPA facade to the given entity manager factory.PersistenceProviderImpl.createContainerEntityManagerFactory
(jakarta.persistence.spi.PersistenceUnitInfo pui, Map m) static OpenJPAEntityManagerFactory
OpenJPAPersistence.createEntityManagerFactory
(String name, String resource) Returns a newOpenJPAEntityManagerFactory
specified byname
in an XML configuration file at the resource locationresource
.static OpenJPAEntityManagerFactory
OpenJPAPersistence.createEntityManagerFactory
(String name, String resource, Map map) Returns a newOpenJPAEntityManagerFactory
specified byname
in an XML configuration file at the resource locationresource
, applying the properties specified inmap
as overrides.static OpenJPAEntityManagerFactory
OpenJPAPersistence.createEntityManagerFactory
(String jndiLocation, Context context) Returns theEntityManagerFactory
at the JNDI location specified byjndiLocation
in the contextcontext
.PersistenceProviderImpl.createEntityManagerFactory
(String name, String resource, Map m) Loads the entity manager specified byname
, applying the properties inm
as overrides to the properties defined in the XML configuration file forname
.PersistenceProviderImpl.createEntityManagerFactory
(String name, Map m) EntityManagerImpl.getEntityManagerFactory()
OpenJPAEntityManager.getEntityManagerFactory()
Return the factory that produced this entity manager.static OpenJPAEntityManagerFactory
OpenJPAPersistence.getEntityManagerFactory()
Returns theOpenJPAEntityManagerFactory
specified by your OpenJPA defaults.static OpenJPAEntityManagerFactory
OpenJPAPersistence.getEntityManagerFactory
(Map map) Returns theOpenJPAEntityManagerFactory
specified by your OpenJPA defaults, usingmap
as overrides.static OpenJPAEntityManagerFactory
EntityManagerFactoryValue.newFactory
(BrokerFactory bf) Create a new factory of the configured type.static OpenJPAEntityManagerFactory
JPAFacadeHelper.toEntityManagerFactory
(BrokerFactory factory) static OpenJPAEntityManagerFactory
OpenJPAPersistence.toEntityManagerFactory
(BrokerFactory factory) Deprecated.Modifier and TypeMethodDescriptionstatic Object
OpenJPAPersistenceUtil.getIdentifier
(OpenJPAEntityManagerFactory emf, Object entity) Get the object identifier for a persistent entity managed by one of the entity managers of the specified entity manager factory.static boolean
OpenJPAPersistenceUtil.isManagedBy
(OpenJPAEntityManagerFactory emf, Object entity) Determines whether the specified state manager is managed by an open broker within the persistence unit of the provided EMF instance. -
Uses of OpenJPAEntityManagerFactory in org.apache.openjpa.persistence.jest
ModifierConstructorDescriptionJESTContext
(String unit, OpenJPAEntityManagerFactory emf, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
JPAFacadeHelper
instead.