Package | Description |
---|---|
jpa.tools.swing |
Swing widgets to browse persistent entities using JPA 2.0 MetaModel API.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.persistence.jest |
Constructor and Description |
---|
PreparedQueryViewer(OpenJPAEntityManagerFactory emf) |
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 . |
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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.