Uses of Interface
org.eclipse.persistence.sessions.UnitOfWork
Package
Description
-
Uses of UnitOfWork in org.eclipse.persistence.descriptors.copying
Modifier and TypeMethodDescriptionAbstractCopyPolicy.buildWorkingCopyCloneFromRow
(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow) By default create a new instance.CloneCopyPolicy.buildWorkingCopyCloneFromRow
(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow) Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.CopyPolicy.buildWorkingCopyCloneFromRow
(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow) Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read. -
Uses of UnitOfWork in org.eclipse.persistence.internal.jpa
Modifier and TypeMethodDescriptionEntityManagerImpl.getUnitOfWork()
This method will return the active UnitOfWorkModifier and TypeMethodDescriptionprotected boolean
EntityManagerImpl.contains
(Object entity, UnitOfWork uow) Check if the instance belongs to the current persistence context. -
Uses of UnitOfWork in org.eclipse.persistence.internal.sessions
Modifier and TypeClassDescriptionclass
class
Implementation of org.eclipse.persistence.sessions.UnitOfWork The public interface should be used.Modifier and TypeMethodDescriptionAbstractSession.getActiveUnitOfWork()
PUBLIC: Return the active unit of work for the current active external (JTS) transaction.UnitOfWorkImpl.getActiveUnitOfWork()
PUBLIC: Return the active unit of work for the current active external (JTS) transaction. -
Uses of UnitOfWork in org.eclipse.persistence.internal.sessions.remote
Modifier and TypeClassDescriptionclass
Counter part of the unit of work which exists on the client side. -
Uses of UnitOfWork in org.eclipse.persistence.jpa
Modifier and TypeMethodDescriptionJpaEntityManager.getUnitOfWork()
This method will return the transactional UnitOfWork during the transaction and null outside of the transaction. -
Uses of UnitOfWork in org.eclipse.persistence.sessions
Modifier and TypeMethodDescriptionSession.acquireUnitOfWork()
PUBLIC: Return a unit of work for this session.Session.acquireUnitOfWork
(ReferenceMode referenceMode) PUBLIC: Return a unit of work for this session.Session.getActiveUnitOfWork()
PUBLIC: Return the active unit of work for the current active external (JTS) transaction. -
Uses of UnitOfWork in org.eclipse.persistence.sessions.factories
Modifier and TypeMethodDescriptionSessionFactory.acquireUnitOfWork()
Looks up the active UnitOfWork using either the global JTA TX or acquires a new one from the active session.SessionFactory.acquireUnitOfWork
(Session session) Looks up the active UnitOfWork using either the global JTA TX or acquires a new one from the active session.