Uses of Interface
org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
-
Packages that use OpenJPAEntityManagerFactory Package Description jpa.tools.swing Swing widgets to browse persistent entities using JPA 2.0 MetaModel API.org.apache.openjpa.persistence OpenJPA JPAorg.apache.openjpa.persistence.jest -
-
Uses of OpenJPAEntityManagerFactory in jpa.tools.swing
Constructors in jpa.tools.swing with parameters of type OpenJPAEntityManagerFactory Constructor Description PreparedQueryViewer(OpenJPAEntityManagerFactory emf)
-
Uses of OpenJPAEntityManagerFactory in org.apache.openjpa.persistence
Subinterfaces of OpenJPAEntityManagerFactory in org.apache.openjpa.persistence Modifier and Type Interface Description interface
OpenJPAEntityManagerFactorySPI
Classes in org.apache.openjpa.persistence that implement OpenJPAEntityManagerFactory Modifier and Type Class Description class
EntityManagerFactoryImpl
Implementation ofEntityManagerFactory
that acts as a facade to aBrokerFactory
.Methods in org.apache.openjpa.persistence that return OpenJPAEntityManagerFactory Modifier and Type Method Description static OpenJPAEntityManagerFactory
OpenJPAPersistence. cast(jakarta.persistence.EntityManagerFactory emf)
Return the OpenJPA facade to the given entity manager factory.OpenJPAEntityManagerFactory
PersistenceProviderImpl. createContainerEntityManagerFactory(jakarta.persistence.spi.PersistenceUnitInfo pui, java.util.Map m)
static OpenJPAEntityManagerFactory
OpenJPAPersistence. createEntityManagerFactory(java.lang.String name, java.lang.String resource)
Returns a newOpenJPAEntityManagerFactory
specified byname
in an XML configuration file at the resource locationresource
.static OpenJPAEntityManagerFactory
OpenJPAPersistence. createEntityManagerFactory(java.lang.String name, java.lang.String resource, java.util.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(java.lang.String jndiLocation, javax.naming.Context context)
Returns theEntityManagerFactory
at the JNDI location specified byjndiLocation
in the contextcontext
.OpenJPAEntityManagerFactory
PersistenceProviderImpl. createEntityManagerFactory(java.lang.String name, java.lang.String resource, java.util.Map m)
Loads the entity manager specified byname
, applying the properties inm
as overrides to the properties defined in the XML configuration file forname
.OpenJPAEntityManagerFactory
PersistenceProviderImpl. createEntityManagerFactory(java.lang.String name, java.util.Map m)
OpenJPAEntityManagerFactory
EntityManagerImpl. getEntityManagerFactory()
OpenJPAEntityManagerFactory
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(java.util.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.useJPAFacadeHelper
instead.Methods in org.apache.openjpa.persistence with parameters of type OpenJPAEntityManagerFactory Modifier and Type Method Description static java.lang.Object
OpenJPAPersistenceUtil. getIdentifier(OpenJPAEntityManagerFactory emf, java.lang.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, java.lang.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
Constructors in org.apache.openjpa.persistence.jest with parameters of type OpenJPAEntityManagerFactory Constructor Description JESTContext(java.lang.String unit, OpenJPAEntityManagerFactory emf, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-