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 |
OpenJPAEntityManagerSPI |
Modifier and Type | Class and Description |
---|---|
class |
EntityManagerImpl
Implementation of
EntityManager interface. |
Modifier and Type | Method and Description |
---|---|
static OpenJPAEntityManager |
OpenJPAPersistence.cast(javax.persistence.EntityManager em)
Return the OpenJPA facade to the given entity manager.
|
OpenJPAEntityManager |
OpenJPAEntityManagerFactory.createEntityManager() |
OpenJPAEntityManager |
OpenJPAEntityManagerFactory.createEntityManager(Map props)
Return an entity manager with the provided additional configuration
settings.
|
OpenJPAEntityManager |
OpenJPAQuery.getEntityManager()
The owning entity manager.
|
OpenJPAEntityManager |
Extent.getEntityManager()
The owning entity manager.
|
OpenJPAEntityManager |
ExtentImpl.getEntityManager() |
OpenJPAEntityManager |
QueryImpl.getEntityManager() |
static OpenJPAEntityManager |
OpenJPAPersistence.getEntityManager(Object o)
Return the entity manager for the given object, if one can be determined
from just the object alone.
|
static OpenJPAEntityManager |
OpenJPAPersistence.toEntityManager(Broker broker)
Deprecated.
use
JPAFacadeHelper instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization. |
static OpenJPAEntityManager |
JPAFacadeHelper.toEntityManager(Broker broker)
Return a persistence manager facade to the given broker retaining
previously associated persistence context type.
|
Modifier and Type | Method and Description |
---|---|
static RuntimeExceptionTranslator |
PersistenceExceptions.getRollbackTranslator(OpenJPAEntityManager em)
Returns a
RuntimeExceptionTranslator that will perform
the correct exception translation as well as roll back the
current transaction when for all but NoResultException
and NonUniqueResultException in accordance with
section 3.7 of the EJB 3.0 specification. |
Modifier and Type | Method and Description |
---|---|
OpenJPAEntityManager |
JESTContext.getPersistenceContext()
Gets the persistence context.
|
OpenJPAEntityManager |
JPAServletContext.getPersistenceContext()
Get the persistence context of the operational context.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.