Uses of Class
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl
-
-
Uses of UnitOfWorkImpl in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidFieldsLockingPolicy. mergeIntoParentCache(UnitOfWorkImpl uow, Object primaryKey, Object object)INTERNAL: Only applicable when the value is stored in the cache.voidVersionLockingPolicy. mergeIntoParentCache(UnitOfWorkImpl uow, Object primaryKey, Object object)INTERNAL: Only applicable when the value is stored in the cache.voidFetchGroupManager. writePartialIntoClones(Object partialObject, Object workingClone, Object backupClone, UnitOfWorkImpl uow)INTERNAL: Write data of the partially fetched object into the working and backup clones -
Uses of UnitOfWorkImpl in org.eclipse.persistence.descriptors.changetracking
Methods in org.eclipse.persistence.descriptors.changetracking with parameters of type UnitOfWorkImpl Modifier and Type Method Description ObjectAttributeChangeTrackingPolicy. buildBackupClone(Object clone, ObjectBuilder builder, UnitOfWorkImpl uow)INTERNAL: Only build backup cloneObjectDeferredChangeDetectionPolicy. buildBackupClone(Object clone, ObjectBuilder builder, UnitOfWorkImpl uow)INTERNAL: Build back up clone.ObjectObjectChangePolicy. buildBackupClone(Object clone, ObjectBuilder builder, UnitOfWorkImpl uow)INTERNAL: Build back up clone.ObjectChangeSetDeferredChangeDetectionPolicy. calculateChanges(Object clone, Object backUp, boolean isNew, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: calculateChanges creates a change set for a particular object.ObjectChangeSetObjectChangePolicy. calculateChanges(Object clone, Object backupClone, boolean isNew, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSetAttributeChangeTrackingPolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: PERF: Calculate change for the existing object, avoids check for new since already know.ObjectChangeSetDeferredChangeDetectionPolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: PERF: Calculate change for the new object, avoids check for new since already know.ObjectChangeSetObjectChangePolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSetDeferredChangeDetectionPolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: PERF: Calculate change for the new object, avoids check for new since already know.ObjectChangeSetObjectChangePolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for a new object.voidDeferredChangeDetectionPolicy. clearChanges(Object object, UnitOfWorkImpl uow, ClassDescriptor descriptor, boolean forRefresh)INTERNAL: This is a place holder for reseting the listener on one of the subclassesvoidObjectChangePolicy. clearChanges(Object object, UnitOfWorkImpl uow, ClassDescriptor descriptor, boolean forRefresh)INTERNAL: This is a place holder for reseting the listener on one of the subclassesvoidObjectChangeTrackingPolicy. clearChanges(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor, boolean forRefresh)INTERNAL: Clear the changes in the ObjectChangeListenervoidAttributeChangeTrackingPolicy. revertChanges(Object clone, ClassDescriptor descriptor, UnitOfWorkImpl uow, Map cloneMapping, boolean forRefresh)INTERNAL: Clear the change set in the change event listener.voidDeferredChangeDetectionPolicy. revertChanges(Object clone, ClassDescriptor descriptor, UnitOfWorkImpl uow, Map cloneMapping, boolean forRefresh)INTERNAL: This method is used to revert an object within the unit of workvoidObjectChangePolicy. revertChanges(Object clone, ClassDescriptor descriptor, UnitOfWorkImpl uow, Map cloneMapping, boolean forRefresh)INTERNAL: This method is used to revert an object within the unit of workvoidAttributeChangeTrackingPolicy. setAggregateChangeListener(Object parent, Object aggregate, UnitOfWorkImpl uow, ClassDescriptor descriptor, String mappingAttribute)INTERNAL: Assign ChangeListener to an aggregate objectvoidDeferredChangeDetectionPolicy. setAggregateChangeListener(Object parent, Object aggregate, UnitOfWorkImpl uow, ClassDescriptor descriptor, String mappingAttribute)INTERNAL: Assign ChangeListener to an aggregate objectvoidObjectChangePolicy. setAggregateChangeListener(Object parent, Object aggregate, UnitOfWorkImpl uow, ClassDescriptor descriptor, String mappingAttribute)INTERNAL: Assign Changelistener to an aggregate objectvoidObjectChangeTrackingPolicy. setAggregateChangeListener(Object parent, Object aggregate, UnitOfWorkImpl uow, ClassDescriptor descriptor, String mappingAttribute)INTERNAL: Assign ChangeListener to an aggregate objectPropertyChangeListenerAttributeChangeTrackingPolicy. setChangeListener(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Assign AttributeChangeListener to PropertyChangeListenerPropertyChangeListenerDeferredChangeDetectionPolicy. setChangeListener(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Set ChangeListener for the clonePropertyChangeListenerObjectChangePolicy. setChangeListener(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Assign appropriate ChangeListener to PropertyChangeListener based on the policy.PropertyChangeListenerObjectChangeTrackingPolicy. setChangeListener(Object clone, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Assign ObjectChangeListener to PropertyChangeListenerbooleanDeferredChangeDetectionPolicy. shouldCompareExistingObjectForChange(Object object, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor)INTERNAL: Return true if the Object should be compared, false otherwise.booleanObjectChangePolicy. shouldCompareExistingObjectForChange(Object object, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor)INTERNAL: Return true if the Object should be compared, false otherwise.booleanObjectChangeTrackingPolicy. shouldCompareExistingObjectForChange(Object object, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor)INTERNAL: Return true if the Object should be compared, false otherwise.voidAttributeChangeTrackingPolicy. updateListenerForSelfMerge(ObjectChangeListener listener, ForeignReferenceMapping mapping, Object source, Object target, UnitOfWorkImpl unitOfWork)INTERNAL: In cases where a relationship with detached or new entities is merged into itself previous changes may have been recorded for the detached/new entity that need to be updated.voidDeferredChangeDetectionPolicy. updateListenerForSelfMerge(ObjectChangeListener listener, ForeignReferenceMapping mapping, Object source, Object target, UnitOfWorkImpl unitOfWork)INTERNAL: In cases where a relationship with detached or new entities is merged into itself previous changes may have been recorded for the detached/new entity that need to be updated.voidObjectChangePolicy. updateListenerForSelfMerge(ObjectChangeListener listener, ForeignReferenceMapping mapping, Object source, Object target, UnitOfWorkImpl unitOfWork)INTERNAL: In cases where a relationship with detached or new entities is merged into itself previous changes may have been recorded for the detached/new entity that need to be updated.voidAttributeChangeTrackingPolicy. updateWithChanges(Object object, ObjectChangeSet changeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Clear the change set in the change event listener.voidDeferredChangeDetectionPolicy. updateWithChanges(Object clone, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: Clear changes in the ChangeListener of the clonevoidObjectChangePolicy. updateWithChanges(Object clone, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: This method is used internally to rest the policies back to original state This is used when the clones are to be reused. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type UnitOfWorkImpl Modifier and Type Method Description static ValidationExceptionValidationException. cannotCommitAndResumeSynchronizedUOW(UnitOfWorkImpl uow)static TransactionExceptionTransactionException. inactiveUnitOfWork(UnitOfWorkImpl unitOfWork) -
Uses of UnitOfWorkImpl in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidObjectBuilder. buildAttributesIntoWorkingCopyClone(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh)INTERNAL: For reading through the write connection when in transaction, populate the clone directly from the database row.protected booleanObjectBuilder. buildAttributesIntoWorkingCopyCloneSOP(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh)For reading through the write connection when in transaction, populate the clone directly from the database row.ObjectObjectBuilder. buildBackupClone(Object clone, UnitOfWorkImpl unitOfWork)Returns the backup clone of the specified object.protected ObjectObjectBuilder. buildObjectInUnitOfWork(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor)For executing all reads on the UnitOfWork, the session when building objects from rows will now be the UnitOfWork.protected ObjectObjectBuilder. buildWorkingCopyCloneFromRow(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey)INTERNAL: Builds a working copy clone directly from the database row.protected ObjectObjectBuilder. buildWorkingCopyCloneNormally(ObjectBuildingQuery query, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)buildWorkingCopyCloneFromRow is an alternative to this which is the normal behavior.voidObjectBuilder. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidObjectBuilder. cascadePerformRemove(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: This method is used by the UnitOfWork to cascade registration of new objects.voidObjectBuilder. cascadePerformRemovePrivateOwnedObjectFromChangeSet(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: This method is used to iterate over the specified object's mappings and cascade remove orphaned private owned objects from the UnitOfWorkChangeSet and IdentityMap.voidObjectBuilder. cascadeRegisterNewForCreate(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: This method is used by the UnitOfWork to cascade registration of new objects.protected AbstractRecordCascadeLockingPolicy. getMappedTranslationRow(Object changedObj, UnitOfWorkImpl uow)INTERNAL:protected AbstractRecordCascadeLockingPolicy. getUnmappedTranslationRow(Object changedObj, UnitOfWorkImpl uow)INTERNAL:voidCascadeLockingPolicy. initUnmappedFields(UnitOfWorkImpl uow)INTERNAL: Identify mapped and not mapped fields (should be done once).voidCascadeLockingPolicy. initUnmappedFieldsQuery(UnitOfWorkImpl uow)INTERNAL: This method called in case there are m_unmappedQueryKeyFields.ObjectObjectBuilder. instantiateWorkingCopyCloneFromRow(AbstractRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWorkImpl unitOfWork)It is now possible to build working copy clones directly from rows.voidCascadeLockingPolicy. lockNotifyParent(Object obj, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl uow)INTERNAL:voidOptimisticLockingPolicy. mergeIntoParentCache(UnitOfWorkImpl uow, Object primaryKey, Object object)INTERNAL: This method should merge changes from the parent into the child.protected voidObjectBuilder. postBuildAttributesIntoWorkingCopyCloneEvent(Object clone, AbstractRecord databaseRow, ObjectBuildingQuery query, UnitOfWorkImpl unitOfWork, boolean forRefresh)voidObjectBuilder. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow, boolean initialPass) -
Uses of UnitOfWorkImpl in org.eclipse.persistence.internal.descriptors.changetracking
Fields in org.eclipse.persistence.internal.descriptors.changetracking declared as UnitOfWorkImpl Modifier and Type Field Description protected UnitOfWorkImplAttributeChangeListener. uowMethods in org.eclipse.persistence.internal.descriptors.changetracking that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplAttributeChangeListener. getUnitOfWork()INTERNAL: Return the unit of work associated with this listenerMethods in org.eclipse.persistence.internal.descriptors.changetracking with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidAttributeChangeListener. setUnitOfWork(UnitOfWorkImpl uow)INTERNAL: Set the unit of work associated with this listenerConstructors in org.eclipse.persistence.internal.descriptors.changetracking with parameters of type UnitOfWorkImpl Constructor Description AggregateAttributeChangeListener(ClassDescriptor descriptor, UnitOfWorkImpl uow, AttributeChangeListener parentListener, String parentAttribute, Object owner)Create a AttributeChangeListener with a descriptor and unit of workAttributeChangeListener(ClassDescriptor descriptor, UnitOfWorkImpl uow, Object owner)INTERNAL: Create a AttributeChangeListener with a descriptor and unit of work -
Uses of UnitOfWorkImpl in org.eclipse.persistence.internal.indirection
Fields in org.eclipse.persistence.internal.indirection declared as UnitOfWorkImpl Modifier and Type Field Description protected UnitOfWorkImplUnitOfWorkValueHolder. remoteUnitOfWorkThese cannot be transient because they are required for a remote unit of work.Methods in org.eclipse.persistence.internal.indirection that return UnitOfWorkImpl Modifier and Type Method Description protected UnitOfWorkImplUnitOfWorkValueHolder. getRemoteUnitOfWork()protected UnitOfWorkImplUnitOfWorkValueHolder. getUnitOfWork()Methods in org.eclipse.persistence.internal.indirection with parameters of type UnitOfWorkImpl Modifier and Type Method Description ObjectBasicIndirectionPolicy. backupCloneAttribute(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Return a backup clone of the attribute.ObjectContainerIndirectionPolicy. backupCloneAttribute(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Return a backup clone of the attribute.ObjectIndirectionPolicy. backupCloneAttribute(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Return a backup clone of the attribute.ObjectProxyIndirectionPolicy. backupCloneAttribute(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Return a backup clone of the attribute.ObjectTransparentIndirectionPolicy. backupCloneAttribute(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Return a backup clone of the attribute.TCacheBasedValueHolder. getValue(UnitOfWorkImpl uow)Process against the UOW and attempt to load a local copy before going to the shared cache If null is returned then the calling UOW will instantiate as normal.TDatabaseValueHolder. getValue(UnitOfWorkImpl uow)Process against the UOW and attempt to load a local copy before going to the shared cache If null is returned then the calling UOW will instantiate as normal.TQueryBasedValueHolder. getValue(UnitOfWorkImpl uow)Process against the UOW and attempt to load a local copy before going to the shared cache If null is returned then the calling UOW will instantiate as normal.protected voidUnitOfWorkValueHolder. setRemoteUnitOfWork(UnitOfWorkImpl remoteUnitOfWork)Constructors in org.eclipse.persistence.internal.indirection with parameters of type UnitOfWorkImpl Constructor Description UnitOfWorkQueryValueHolder(ValueHolderInterface<T> attributeValue, Object clone, DatabaseMapping mapping, UnitOfWorkImpl unitOfWork)UnitOfWorkQueryValueHolder(ValueHolderInterface<T> attributeValue, Object clone, ForeignReferenceMapping mapping, AbstractRecord row, UnitOfWorkImpl unitOfWork)UnitOfWorkTransformerValueHolder(ValueHolderInterface<T> attributeValue, Object original, Object clone, AbstractTransformationMapping mapping, UnitOfWorkImpl unitOfWork)UnitOfWorkTransformerValueHolder(ValueHolderInterface<T> attributeValue, Object clone, DatabaseMapping mapping, UnitOfWorkImpl unitOfWork)UnitOfWorkValueHolder(ValueHolderInterface<T> attributeValue, Object clone, DatabaseMapping mapping, UnitOfWorkImpl unitOfWork) -
Uses of UnitOfWorkImpl in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidContainerPolicy. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade DiscoverAndPersistUnregisteredNewObjects to any mappings managed by the container policy.voidMappedKeyMapContainerPolicy. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit to the map keyvoidContainerPolicy. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade performRemove to any mappings managed by the container policy.voidMappedKeyMapContainerPolicy. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew to any mappings managed by the container policy.voidContainerPolicy. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew to any mappings managed by the container policy.voidMappedKeyMapContainerPolicy. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew to any mappings managed by the container policy.voidContainerPolicy. postCalculateChanges(Object key, Object value, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidContainerPolicy. postCalculateChanges(ObjectChangeSet ocs, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidMappedKeyMapContainerPolicy. postCalculateChanges(Object key, Object value, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidMappedKeyMapContainerPolicy. postCalculateChanges(ObjectChangeSet ocs, ClassDescriptor referenceDescriptor, DatabaseMapping mapping, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidContainerPolicy. recordPrivateOwnedRemovals(Object object, ClassDescriptor referenceDescriptor, UnitOfWorkImpl uow)INTERNAL: Add the provided object to the deleted objects list on the commit manager.voidMappedKeyMapContainerPolicy. recordPrivateOwnedRemovals(Object object, ClassDescriptor referenceDescriptor, UnitOfWorkImpl uow)INTERNAL: Add the key and value from provided association to the deleted objects list on the commit manager.voidContainerPolicy. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, ForeignReferenceMapping mapping, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidListContainerPolicy. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, ForeignReferenceMapping mapping, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidOrderedListContainerPolicy. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, ForeignReferenceMapping mapping, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.internal.sessions
Subclasses of UnitOfWorkImpl in org.eclipse.persistence.internal.sessions Modifier and Type Class Description classRepeatableWriteUnitOfWorkFields in org.eclipse.persistence.internal.sessions declared as UnitOfWorkImpl Modifier and Type Field Description protected UnitOfWorkImplUnitOfWorkImpl. containerUnitOfWorkThis is only used for EJB entity beans to manage beans accessed in a transaction context.Methods in org.eclipse.persistence.internal.sessions that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplAbstractSession. acquireNonSynchronizedUnitOfWork()INTERNAL: Return a unit of work for this session not registered with the JTS transaction.UnitOfWorkImplAbstractSession. acquireNonSynchronizedUnitOfWork(ReferenceMode referenceMode)INTERNAL: Return a unit of work for this session not registered with the JTS transaction.UnitOfWorkImplAbstractSession. acquireUnitOfWork()PUBLIC: Return a unit of work for this session.UnitOfWorkImplAbstractSession. acquireUnitOfWork(ReferenceMode referenceMode)PUBLIC: Return a unit of work for this session.UnitOfWorkImplUnitOfWorkImpl. acquireUnitOfWork()PUBLIC: Return a nested unit of work for this unit of work.UnitOfWorkImplUnitOfWorkImpl. getContainerUnitOfWork()INTERNAL: This is only used for EJB entity beans to manage beans accessed in a transaction context.Methods in org.eclipse.persistence.internal.sessions with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidMergeManager. checkNewObjectLockVersion(Object clone, Object primaryKey, ClassDescriptor descriptor, UnitOfWorkImpl unitOfWork)Check if the new object's version has been set, if so, then it was an existing object that was deleted.protected CacheKeyMergeManager. mergeChangesOfWorkingCopyIntoOriginal(Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor, AbstractSession targetSession, UnitOfWorkImpl unitOfWork)Recursively merge to clone into the original in its parent.voidAbstractSession. releaseUnitOfWork(UnitOfWorkImpl unitOfWork)INTERNAL: Release the unit of work, if lazy release the connection.protected voidUnitOfWorkImpl. setContainerUnitOfWork(UnitOfWorkImpl containerUnitOfWork)INTERNAL: This is only used for EJB entity beans to manage beans accessed in a transaction context.protected voidMergeManager. updateCacheKeyProperties(UnitOfWorkImpl unitOfWork, CacheKey cacheKey, Object original, Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor)INTERNAL: Update CacheKey properties with new information.voidRepeatableWriteUnitOfWork. updateChangeTrackersIfRequired(Object objectToWrite, ObjectChangeSet changeSetToWrite, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: This method is used internally to update the tracked objects if requiredvoidUnitOfWorkImpl. updateChangeTrackersIfRequired(Object objectToWrite, ObjectChangeSet changeSetToWrite, UnitOfWorkImpl uow, ClassDescriptor descriptor)INTERNAL: This method is used internally to update the tracked objects if required -
Uses of UnitOfWorkImpl in org.eclipse.persistence.internal.sessions.remote
Subclasses of UnitOfWorkImpl in org.eclipse.persistence.internal.sessions.remote Modifier and Type Class Description classRemoteUnitOfWorkCounter part of the unit of work which exists on the client side.Fields in org.eclipse.persistence.internal.sessions.remote declared as UnitOfWorkImpl Modifier and Type Field Description protected UnitOfWorkImplRemoteSessionController. unitOfWorkUse the temporary unit of work to isolate queries after an early transaction.Methods in org.eclipse.persistence.internal.sessions.remote that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplRemoteUnitOfWork. acquireUnitOfWork()The nested unit of work must also be remote.UnitOfWorkImplRemoteUnitOfWork. acquireUnitOfWork(ReferenceMode referenceMode)The nested unit of work must also be remote. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidDirectMapMapping. addToCollectionChangeRecord(Object newKey, Object newValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Add a new value and its change set to the collection change record.voidAggregateMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.abstract voidDatabaseMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidForeignReferenceMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidMultitenantPrimaryKeyMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.ObjectAggregateCollectionMapping. buildBackupCloneForPartObject(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Used during building the backup shallow copy to copy the vector without re-registering the target objects.ObjectCollectionMapping. buildBackupCloneForPartObject(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Used during building the backup shallow copy to copy the vector without re-registering the target objects.ObjectDatabaseMapping. buildBackupCloneForPartObject(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Require for cloning, the part must be cloned.abstract ObjectForeignReferenceMapping. buildBackupCloneForPartObject(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Used during building the backup shallow copy to copy the target object without re-registering it.ObjectObjectReferenceMapping. buildBackupCloneForPartObject(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Used during building the backup shallow copy to copy the vector without re-registering the target objects.protected ObjectAggregateMapping. buildBackupClonePart(Object attributeValue, UnitOfWorkImpl unitOfWork)INTERNAL: Build and return a backup clone of the attribute.voidAggregateMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidAggregateObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.abstract voidDatabaseMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidForeignReferenceMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidMultitenantPrimaryKeyMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.protected ObjectAggregateCollectionMapping. buildElementBackupClone(Object element, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the aggregate collection, if necessary.ObjectCollectionMapping. buildElementUnitOfWorkClone(Object element, Object parent, Integer refreshCascade, UnitOfWorkImpl unitOfWork, boolean isExisting, boolean isFromSharedCache)INTERNAL: Clone the element, if necessary.ObjectObjectReferenceMapping. buildUnitofWorkCloneForPartObject(Object attributeValue, Object original, Object clone, Integer refreshCascade, UnitOfWorkImpl unitOfWork, boolean isExisting)INTERNAL: Require for cloning, the part must be cloned.voidAggregateCollectionMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidAggregateObjectMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, boolean getAttributeValueFromObject, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit to the map keyvoidCollectionMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidDatabaseMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidDirectCollectionMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidDirectMapMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidObjectReferenceMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, boolean getAttributeValueFromObject, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidObjectReferenceMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidAggregateCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAggregateObjectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidAggregateObjectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade perform delete through mappings that require the cascadevoidCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadeabstract voidDatabaseMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidDirectCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidDirectMapMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidObjectReferenceMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidObjectReferenceMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade remove through mappings that require the cascade.voidAggregateCollectionMapping. cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform removal of orphaned private owned objects from the UnitOfWorkChangeSetvoidAggregateObjectMapping. cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform removal of orphaned private owned objects from the UnitOfWorkChangeSetvoidCollectionMapping. cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform removal of orphaned private owned objects from the UnitOfWorkChangeSetvoidDatabaseMapping. cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade removal of orphaned private owned objects from the UnitOfWorkChangeSetvoidDirectCollectionMapping. cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform removal of orphaned private owned objects from the UnitOfWorkChangeSetvoidObjectReferenceMapping. cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade removal of orphaned private owned objects from the UnitOfWorkChangeSetvoidAggregateCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAggregateObjectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAggregateObjectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadeabstract voidDatabaseMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidDirectCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidDirectMapMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidObjectReferenceMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidObjectReferenceMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidCollectionMapping. postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidDatabaseMapping. postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidDirectCollectionMapping. postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidDirectMapMapping. postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidObjectReferenceMapping. postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidUnidirectionalOneToManyMapping. postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidDatabaseMapping. postCalculateChangesOnDeleted(Object deletedObject, UnitOfWorkChangeSet uowChangeSet, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation.voidUnidirectionalOneToManyMapping. postCalculateChangesOnDeleted(Object deletedObject, UnitOfWorkChangeSet uowChangeSet, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation.voidCollectionMapping. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidDatabaseMapping. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation.voidDirectCollectionMapping. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidDirectMapMapping. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidObjectReferenceMapping. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.voidUnidirectionalOneToManyMapping. recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated.protected voidDirectMapMapping. removeFromCollectionChangeRecord(Object newKey, Object newValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Remove a value and its change set from the collection change record.voidAggregateObjectMapping. setChangeListener(Object clone, PropertyChangeListener listener, UnitOfWorkImpl uow)INTERNAL: Set the change listener in the aggregate.voidCollectionMapping. setChangeListener(Object clone, PropertyChangeListener listener, UnitOfWorkImpl uow)INTERNAL: Set the change listener in the collection.voidDatabaseMapping. setChangeListener(Object clone, PropertyChangeListener listener, UnitOfWorkImpl uow)INTERNAL: Set the change listener if required.voidAggregateMapping. updateChangeRecord(Object sourceClone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update the change record with the new value.voidCollectionMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update with the new value.voidDatabaseMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update the change record with the new value.voidDirectCollectionMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update with the new value.voidDirectMapMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update the change record with the new value.voidObjectReferenceMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update the change record with the new value.voidCollectionMapping. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.abstract voidForeignReferenceMapping. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidObjectReferenceMapping. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidCollectionMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, UnitOfWorkImpl uow)INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.voidDatabaseMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.voidDirectCollectionMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, UnitOfWorkImpl uow)INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in.voidDirectMapMapping. updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet changeSet, UnitOfWorkImpl uow)INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidAbstractCompositeDirectCollectionMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidAbstractDirectMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidAbstractTransformationMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.ObjectAbstractTransformationMapping. buildBackupCloneForPartObject(Object attributeValue, Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Used during building the backup shallow copy to copy the vector without re-registering the target objects.protected ObjectAbstractCompositeCollectionMapping. buildBackupClonePart(Object attributeValue, UnitOfWorkImpl unitOfWork)Build and return a backup clone of the attribute.voidAbstractCompositeDirectCollectionMapping. buildCloneFromRow(AbstractRecord row, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.voidAbstractDirectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.voidAbstractTransformationMapping. buildCloneFromRow(AbstractRecord record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.voidAbstractCompositeCollectionMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidAbstractCompositeObjectMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit.voidAbstractDirectMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, boolean getAttributeValueFromObject, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit to the map key.voidMapKeyMapping. cascadeDiscoverAndPersistUnregisteredNewObjects(Object object, Map newObjects, Map unregisteredExistingObjects, Map visitedObjects, UnitOfWorkImpl uow, boolean getAttributeValueFromObject, Set cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit to the map keyvoidAbstractColumnMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascade.voidAbstractCompositeCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidAbstractCompositeDirectCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidAbstractCompositeObjectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidAbstractDirectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascade.voidAbstractDirectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade perform delete through mappings that require the cascade.voidAbstractTransformationMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidMapKeyMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade perform delete through mappings that require the cascadevoidAbstractColumnMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascade.voidAbstractCompositeCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAbstractCompositeDirectCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAbstractCompositeObjectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAbstractDirectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascade.voidAbstractDirectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade registerNew for Create through mappings that require the cascade.voidAbstractTransformationMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidMapKeyMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects, boolean getAttributeValueFromObject)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidAbstractDirectMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update with the new value.voidAbstractTransformationMapping. updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)INTERNAL: Either create a new change record or update the change record with the new value. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.oxm.mappings
Methods in org.eclipse.persistence.oxm.mappings with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidXMLAnyAttributeMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidXMLAnyCollectionMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidXMLAnyObjectMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidXMLChoiceCollectionMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidXMLChoiceObjectMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup.voidXMLInverseReferenceMapping. buildBackupClone(Object clone, Object backup, UnitOfWorkImpl unitOfWork)voidXMLAnyAttributeMapping. buildCloneFromRow(AbstractRecord Record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyCollectionMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLChoiceCollectionMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLChoiceObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLInverseReferenceMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyAttributeMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidXMLAnyCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidXMLAnyObjectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidXMLChoiceCollectionMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidXMLChoiceObjectMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidXMLInverseReferenceMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)voidXMLObjectReferenceMapping. cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade perform delete through mappings that require the cascadevoidXMLAnyAttributeMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidXMLAnyCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidXMLAnyObjectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidXMLChoiceCollectionMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidXMLChoiceObjectMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascadevoidXMLInverseReferenceMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)voidXMLObjectReferenceMapping. cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascade -
Uses of UnitOfWorkImpl in org.eclipse.persistence.queries
Methods in org.eclipse.persistence.queries with parameters of type UnitOfWorkImpl Modifier and Type Method Description protected ObjectObjectLevelReadQuery. conformIndividualResult(Object clone, UnitOfWorkImpl unitOfWork, AbstractRecord arguments, Expression selectionCriteriaClone, Map alreadyReturned)INTERNAL: Conforms and registers an individual result.protected ObjectReadAllQuery. conformResult(Object result, UnitOfWorkImpl unitOfWork, AbstractRecord arguments, boolean buildDirectlyFromRows)INTERNAL: Conform the result if specified.protected ObjectReadObjectQuery. conformResult(Object result, UnitOfWorkImpl unitOfWork, AbstractRecord databaseRow, boolean buildDirectlyFromRows)INTERNAL: Conform the result in the UnitOfWork.ObjectDatabaseQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Override query execution where Session is a UnitOfWork.ObjectDeleteAllQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: This method has to be broken.ObjectModifyAllQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Override query execution where Session is a UnitOfWork.ObjectObjectLevelModifyQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: All have done is move code from UnitOfWork.internalExecuteQueryObjectObjectLevelReadQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Execute the query in the unit of work.protected ObjectDeleteObjectQuery. executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Code was moved from UnitOfWork.internalExecuteQueryprotected ObjectObjectLevelModifyQuery. executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: This code was moved from UnitOfWork.internalExecuteQuery.booleanObjectBuildingQuery. isClonePessimisticLocked(Object clone, UnitOfWorkImpl uow)INTERNAL: Helper method that checks if clone has been locked with uow.booleanObjectLevelReadQuery. isClonePessimisticLocked(Object clone, UnitOfWorkImpl uow)INTERNAL: Helper method that checks if clone has been locked with uow.voidObjectBuildingQuery. postRegisterIndividualResult(Object clone, Object original, Object primaryKey, UnitOfWorkImpl unitOfWork, JoinedAttributeManager joinManager, ClassDescriptor concreteDescriptor)Post process the object once it is registered in the unit of work.voidObjectBuildingQuery. recordCloneForPessimisticLocking(Object clone, UnitOfWorkImpl uow)INTERNAL: Helper method that records clone with uow if query is pessimistic locking.voidObjectLevelReadQuery. recordCloneForPessimisticLocking(Object clone, UnitOfWorkImpl uow)INTERNAL: Helper method that records clone with uow if query is pessimistic locking.ObjectObjectBuildingQuery. registerIndividualResult(Object result, Object primaryKey, UnitOfWorkImpl unitOfWork, JoinedAttributeManager joinManager, ClassDescriptor concreteDescriptor)INTERNAL: Constructs the final (registered) object for every individual object queried via a UnitOfWork.abstract ObjectObjectLevelReadQuery. registerResultInUnitOfWork(Object result, UnitOfWorkImpl unitOfWork, AbstractRecord arguments, boolean buildDirectlyFromRows)INTERNAL: All objects queried via a UnitOfWork get registered here.ObjectReadAllQuery. registerResultInUnitOfWork(Object result, UnitOfWorkImpl unitOfWork, AbstractRecord arguments, boolean buildDirectlyFromRows)INTERNAL: All objects queried via a UnitOfWork get registered here.ObjectReadObjectQuery. registerResultInUnitOfWork(Object result, UnitOfWorkImpl unitOfWork, AbstractRecord arguments, boolean buildDirectlyFromRows)INTERNAL: All objects queried via a UnitOfWork get registered here.ObjectReadAllQuery. registerResultSetInUnitOfWork(ResultSet resultSet, Vector fields, DatabaseField[] fieldsArray, UnitOfWorkImpl unitOfWork, AbstractRecord arguments)INTERNAL: Version of the previous method for ResultSet optimization. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplExternalTransactionController. getActiveUnitOfWork()INTERNAL: Return the active unit of work for the current active external transaction.Methods in org.eclipse.persistence.sessions with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidExternalTransactionController. registerSynchronizationListener(UnitOfWorkImpl uow, AbstractSession session)INTERNAL: Register a listener on the unit of work. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.sessions.broker
Methods in org.eclipse.persistence.sessions.broker that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplSessionBroker. acquireUnitOfWork()PUBLIC: Return a unit of work for this session broker. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.sessions.remote
Methods in org.eclipse.persistence.sessions.remote that return UnitOfWorkImpl Modifier and Type Method Description abstract UnitOfWorkImplDistributedSession. acquireUnitOfWork()PUBLIC: Return a unit of work for this session.UnitOfWorkImplRemoteSession. acquireUnitOfWork()PUBLIC: Return a unit of work for this session.UnitOfWorkImplRemoteSession. acquireUnitOfWork(ReferenceMode referenceMode)PUBLIC: Return a unit of work for this session. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.sessions.server
Methods in org.eclipse.persistence.sessions.server that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplServerSession. acquireUnitOfWork()PUBLIC: Return a unit of work for this session. -
Uses of UnitOfWorkImpl in org.eclipse.persistence.transaction
Fields in org.eclipse.persistence.transaction declared as UnitOfWorkImpl Modifier and Type Field Description protected UnitOfWorkImplAbstractSynchronizationListener. unitOfWorkThe unit of work associated with the global txn that this listener is bound to.Fields in org.eclipse.persistence.transaction with type parameters of type UnitOfWorkImpl Modifier and Type Field Description protected ThreadLocal<UnitOfWorkImpl>AbstractTransactionController. activeUnitOfWorkThreadLocalPERF: Cache the active uow in a thread local.protected ConcurrentMap<Object,UnitOfWorkImpl>AbstractTransactionController. unitsOfWorkTable of external transaction object keys and unit of work valuesMethods in org.eclipse.persistence.transaction that return UnitOfWorkImpl Modifier and Type Method Description UnitOfWorkImplAbstractTransactionController. getActiveUnitOfWork()INTERNAL: Return the active unit of work for the current external transaction.protected UnitOfWorkImplAbstractSynchronizationListener. getUnitOfWork()UnitOfWorkImplAbstractTransactionController. lookupActiveUnitOfWork()INTERNAL: Return the unit of work associated with the active external transaction.UnitOfWorkImplAbstractTransactionController. lookupActiveUnitOfWork(Object transaction)INTERNAL: Return the unit of work associated with the active external transaction.Methods in org.eclipse.persistence.transaction that return types with arguments of type UnitOfWorkImpl Modifier and Type Method Description Map<Object,UnitOfWorkImpl>AbstractTransactionController. getUnitsOfWork()INTERNAL: Return the hashtable keyed on the external transaction objects with values that are the associated units of work.Methods in org.eclipse.persistence.transaction with parameters of type UnitOfWorkImpl Modifier and Type Method Description voidAbstractTransactionController. addUnitOfWork(Object transactionKey, UnitOfWorkImpl activeUnitOfWork)INTERNAL: Add a UnitOfWork object to the Hashtable keyed on the external transaction object.voidAbstractTransactionController. bindToCurrentTransaction(UnitOfWorkImpl unitOfWork, AbstractSession session)INTERNAL: Associate the given unit of work and EclipseLink session with the active external transaction.AbstractSynchronizationListenerJTASynchronizationListener. newSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL: Create and return the Synchronization listener object that can be registered to receive JTA transaction notification callbacks.AbstractSynchronizationListenerSynchronizationListenerFactory. newSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL: Create and return the synchronization listener object that can be registered to receive transaction notification callbacks.voidAbstractTransactionController. registerSynchronizationListener(UnitOfWorkImpl uow, AbstractSession session)INTERNAL: Associate the given unit of work and EclipseLink session with the current external transaction.protected voidAbstractSynchronizationListener. setUnitOfWork(UnitOfWorkImpl unitOfWork)Method parameters in org.eclipse.persistence.transaction with type arguments of type UnitOfWorkImpl Modifier and Type Method Description protected voidAbstractTransactionController. setUnitsOfWork(ConcurrentMap<Object,UnitOfWorkImpl> unitsOfWork)INTERNAL: Set the table of transactions to units of work.Constructors in org.eclipse.persistence.transaction with parameters of type UnitOfWorkImpl Constructor Description AbstractSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL:JTASynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL: Constructor for creating listener instances (expects all required state info)
-