Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
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(javax.persistence.EntityManagerFactory emf)
Return the OpenJPA facade to the given entity manager factory.
|
OpenJPAEntityManagerFactory |
PersistenceProviderImpl.createContainerEntityManagerFactory(javax.persistence.spi.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 . |
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. |
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 . |
OpenJPAEntityManagerFactory |
EntityManagerImpl.getEntityManagerFactory() |
OpenJPAEntityManagerFactory |
OpenJPAEntityManager.getEntityManagerFactory()
Return the factory that produced this entity manager.
|
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.getEntityManagerFactory()
Returns the
OpenJPAEntityManagerFactory specified by
your OpenJPA defaults. |
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 |
JPAFacadeHelper.toEntityManagerFactory(BrokerFactory factory) |
static OpenJPAEntityManagerFactory |
OpenJPAPersistence.toEntityManagerFactory(BrokerFactory factory)
Deprecated.
use
JPAFacadeHelper instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization. |
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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.