Uses of Interface
org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
-
Packages that use OpenJPAEntityManagerFactory Package Description org.apache.openjpa.persistence OpenJPA JPAorg.apache.openjpa.persistence.jest -
-
Uses of OpenJPAEntityManagerFactory in org.apache.openjpa.persistence
Subinterfaces of OpenJPAEntityManagerFactory in org.apache.openjpa.persistence Modifier and Type Interface Description interfaceOpenJPAEntityManagerFactorySPIClasses in org.apache.openjpa.persistence that implement OpenJPAEntityManagerFactory Modifier and Type Class Description classEntityManagerFactoryImplImplementation ofEntityManagerFactorythat acts as a facade to aBrokerFactory.Methods in org.apache.openjpa.persistence that return OpenJPAEntityManagerFactory Modifier and Type Method Description static OpenJPAEntityManagerFactoryOpenJPAPersistence. cast(jakarta.persistence.EntityManagerFactory emf)Return the OpenJPA facade to the given entity manager factory.OpenJPAEntityManagerFactoryPersistenceProviderImpl. createContainerEntityManagerFactory(jakarta.persistence.spi.PersistenceUnitInfo pui, Map m)static OpenJPAEntityManagerFactoryOpenJPAPersistence. createEntityManagerFactory(String name, String resource)Returns a newOpenJPAEntityManagerFactoryspecified bynamein an XML configuration file at the resource locationresource.static OpenJPAEntityManagerFactoryOpenJPAPersistence. createEntityManagerFactory(String name, String resource, Map map)Returns a newOpenJPAEntityManagerFactoryspecified bynamein an XML configuration file at the resource locationresource, applying the properties specified inmapas overrides.static OpenJPAEntityManagerFactoryOpenJPAPersistence. createEntityManagerFactory(String jndiLocation, Context context)Returns theEntityManagerFactoryat the JNDI location specified byjndiLocationin the contextcontext.OpenJPAEntityManagerFactoryPersistenceProviderImpl. createEntityManagerFactory(String name, String resource, Map m)Loads the entity manager specified byname, applying the properties inmas overrides to the properties defined in the XML configuration file forname.OpenJPAEntityManagerFactoryPersistenceProviderImpl. createEntityManagerFactory(String name, Map m)OpenJPAEntityManagerFactoryEntityManagerImpl. getEntityManagerFactory()OpenJPAEntityManagerFactoryOpenJPAEntityManager. getEntityManagerFactory()Return the factory that produced this entity manager.static OpenJPAEntityManagerFactoryOpenJPAPersistence. getEntityManagerFactory()Returns theOpenJPAEntityManagerFactoryspecified by your OpenJPA defaults.static OpenJPAEntityManagerFactoryOpenJPAPersistence. getEntityManagerFactory(Map map)Returns theOpenJPAEntityManagerFactoryspecified by your OpenJPA defaults, usingmapas overrides.static OpenJPAEntityManagerFactoryEntityManagerFactoryValue. newFactory(BrokerFactory bf)Create a new factory of the configured type.static OpenJPAEntityManagerFactoryJPAFacadeHelper. toEntityManagerFactory(BrokerFactory factory)static OpenJPAEntityManagerFactoryOpenJPAPersistence. toEntityManagerFactory(BrokerFactory factory)Deprecated.useJPAFacadeHelperinstead.Methods in org.apache.openjpa.persistence with parameters of type OpenJPAEntityManagerFactory Modifier and Type Method Description static ObjectOpenJPAPersistenceUtil. 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 booleanOpenJPAPersistenceUtil. 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
Constructors in org.apache.openjpa.persistence.jest with parameters of type OpenJPAEntityManagerFactory Constructor Description JESTContext(String unit, OpenJPAEntityManagerFactory emf, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-