Uses of Interface
org.eclipse.persistence.sessions.UnitOfWork
Packages that use UnitOfWork
Package
Description
-
Uses of UnitOfWork in org.eclipse.persistence.descriptors.copying
Methods in org.eclipse.persistence.descriptors.copying with parameters of type UnitOfWorkModifier 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
Methods in org.eclipse.persistence.internal.jpa that return UnitOfWorkModifier and TypeMethodDescriptionEntityManagerImpl.getUnitOfWork()This method will return the active UnitOfWorkMethods in org.eclipse.persistence.internal.jpa with parameters of type UnitOfWorkModifier and TypeMethodDescriptionprotected booleanEntityManagerImpl.contains(Object entity, UnitOfWork uow) Check if the instance belongs to the current persistence context. -
Uses of UnitOfWork in org.eclipse.persistence.internal.sessions
Classes in org.eclipse.persistence.internal.sessions that implement UnitOfWorkModifier and TypeClassDescriptionclassclassImplementation of org.eclipse.persistence.sessions.UnitOfWork The public interface should be used.Methods in org.eclipse.persistence.internal.sessions that return UnitOfWorkModifier 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
Classes in org.eclipse.persistence.internal.sessions.remote that implement UnitOfWorkModifier and TypeClassDescriptionclassCounter part of the unit of work which exists on the client side. -
Uses of UnitOfWork in org.eclipse.persistence.jpa
Methods in org.eclipse.persistence.jpa that return UnitOfWorkModifier 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
Methods in org.eclipse.persistence.sessions that return UnitOfWorkModifier 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
Methods in org.eclipse.persistence.sessions.factories that return UnitOfWorkModifier 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.