Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
|
org.apache.openjpa.persistence.jest |
Modifier and Type | Interface and Description |
---|---|
interface |
OpenJPAEntityManagerFactorySPI |
Modifier and Type | Class and Description |
---|---|
class |
EntityManagerFactoryImpl
Implementation of
EntityManagerFactory that acts as a
facade to a BrokerFactory . |
Modifier and Type | Method and Description |
---|---|
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.cast(EntityManagerFactory emf)
Return the OpenJPA facade to the given entity manager factory.
|
OpenJPAEntityManagerFactory |
PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceUnitInfo pui,
Map m) |
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.createEntityManagerFactory(String jndiLocation,
Context context)
Returns the
EntityManagerFactory at the JNDI location specified
by jndiLocation in the context context . |
OpenJPAEntityManagerFactory |
PersistenceProviderImpl.createEntityManagerFactory(String name,
Map m) |
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.createEntityManagerFactory(String name,
String resource)
Returns a new
OpenJPAEntityManagerFactory specified by
name in an XML configuration file at the resource location
resource . |
OpenJPAEntityManagerFactory |
PersistenceProviderImpl.createEntityManagerFactory(String name,
String resource,
Map m)
Loads the entity manager specified by
name , applying
the properties in m as overrides to the properties defined
in the XML configuration file for name . |
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.createEntityManagerFactory(String name,
String resource,
Map map)
Returns a new
OpenJPAEntityManagerFactory specified by
name in an XML configuration file at the resource location
resource , applying the properties specified in
map as overrides. |
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.getEntityManagerFactory()
Returns the
OpenJPAEntityManagerFactory specified by
your OpenJPA defaults. |
OpenJPAEntityManagerFactory |
OpenJPAEntityManager.getEntityManagerFactory()
Return the factory that produced this entity manager.
|
OpenJPAEntityManagerFactory |
EntityManagerImpl.getEntityManagerFactory() |
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.getEntityManagerFactory(Map map)
Returns the
OpenJPAEntityManagerFactory specified by
your OpenJPA defaults, using map as overrides. |
static OpenJPAEntityManagerFactory |
EntityManagerFactoryValue.newFactory(BrokerFactory bf)
Create a new factory of the configured type.
|
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.toEntityManagerFactory(BrokerFactory factory)
Deprecated.
use
JPAFacadeHelper instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization. |
static OpenJPAEntityManagerFactory |
JPAFacadeHelper.toEntityManagerFactory(BrokerFactory factory) |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Constructor and Description |
---|
JESTContext(String unit,
OpenJPAEntityManagerFactory emf,
HttpServletRequest request,
HttpServletResponse response) |
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.