Uses of Interface
org.apache.openjpa.persistence.OpenJPAEntityManager
-
Uses of OpenJPAEntityManager in org.apache.openjpa.persistence
Modifier and TypeClassDescriptionclass
Implementation ofEntityManager
interface.Modifier and TypeMethodDescriptionstatic OpenJPAEntityManager
OpenJPAPersistence.cast
(jakarta.persistence.EntityManager em) Return the OpenJPA facade to the given entity manager.OpenJPAEntityManagerFactory.createEntityManager()
OpenJPAEntityManagerFactory.createEntityManager
(Map props) Return an entity manager with the provided additional configuration settings.Extent.getEntityManager()
The owning entity manager.ExtentImpl.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.OpenJPAQuery.getEntityManager()
The owning entity manager.QueryImpl.getEntityManager()
static OpenJPAEntityManager
JPAFacadeHelper.toEntityManager
(Broker broker) Return a persistence manager facade to the given broker retaining previously associated persistence context type.static OpenJPAEntityManager
OpenJPAPersistence.toEntityManager
(Broker broker) Deprecated.Modifier and TypeMethodDescriptionstatic RuntimeExceptionTranslator
PersistenceExceptions.getRollbackTranslator
(OpenJPAEntityManager em) Returns aRuntimeExceptionTranslator
that will perform the correct exception translation as well as roll back the current transaction when for all butNoResultException
andNonUniqueResultException
in accordance with section 3.7 of the EJB 3.0 specification. -
Uses of OpenJPAEntityManager in org.apache.openjpa.persistence.jest
Modifier and TypeMethodDescriptionJESTContext.getPersistenceContext()
Gets the persistence context.JPAServletContext.getPersistenceContext()
Get the persistence context of the operational context.
JPAFacadeHelper
instead.