Uses of Class
org.eclipse.persistence.exceptions.OptimisticLockException
-
-
Uses of OptimisticLockException in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings that throw OptimisticLockException Modifier and Type Method Description protected voidEISOneToManyMapping. deleteReferenceObjectsLeftOnDatabase(DeleteObjectQuery query)This method will make sure that all the records privately owned by this mapping are actually removed.voidEISOneToManyMapping. postDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidEISOneToManyMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert the reference objects.voidEISOneToManyMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update the reference objects.voidEISOneToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidEISOneToManyMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidEISOneToManyMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update the privately owned parts. -
Uses of OptimisticLockException in org.eclipse.persistence.exceptions
-
Uses of OptimisticLockException in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries that throw OptimisticLockException Modifier and Type Method Description ObjectDatabaseQueryMechanism. executeWrite()Check whether the object already exists on the database; then perform an insert or update, as appropriate.ObjectDatabaseQueryMechanism. executeWriteWithChangeSet()Check whether the object already exists on the cadatabase; then perform an insert or update, as appropriate.protected voidDatabaseQueryMechanism. shallowInsertObjectForWrite(Object object, WriteObjectQuery writeQuery, CommitManager commitManager)Shallow insert the specified object, if necessary. -
Uses of OptimisticLockException in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions that throw OptimisticLockException Modifier and Type Method Description voidUnitOfWorkImpl. commit()PUBLIC: Commit the unit of work to its parent.voidCommitManager. commitAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)Commit all of the objects as a single transaction.voidUnitOfWorkImpl. commitAndResume()PUBLIC: Commit the unit of work to its parent.voidUnitOfWorkImpl. commitAndResumeOnFailure()PUBLIC: Commit the unit of work to its parent.voidUnitOfWorkImpl. commitAndResumeWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: This method is used by the MappingWorkbench for their read-only file feature this method must not be exposed to or used by customers until it has been revised and the feature revisited to support OptimisticLocking and SerializationvoidRepeatableWriteUnitOfWork. commitRootUnitOfWork()INTERNAL: Commit the changes to any objects to the parent.voidUnitOfWorkImpl. commitRootUnitOfWork()INTERNAL: Commit the changes to any objects to the parent.voidUnitOfWorkImpl. commitRootUnitOfWorkWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: This method is used by the MappingWorkbench read-only files feature It will commit a pre-built unitofwork change set to the databaseprotected voidUnitOfWorkImpl. commitToDatabaseWithChangeSet(boolean commitTransaction)INTERNAL: Commit the changes to any objects to the parent.protected voidUnitOfWorkImpl. commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet, boolean commitTransaction, boolean isChangeSetFromOutsideUOW)INTERNAL: Commit pre-built changeSet to the database changeSet to the database.voidAbstractSession. deleteAllObjects(Collection domainObjects)PUBLIC: delete all of the objects and all of their privately owned parts in the database.voidCommitManager. deleteAllObjects(List objects)delete all of the objects as a single transaction.ObjectAbstractSession. deleteObject(Object domainObject)PUBLIC: Delete the object and all of its privately owned parts from the database.VectorUnitOfWorkImpl. registerAllObjects(Vector domainObjects)PUBLIC: Register the objects with the unit of work.ObjectAbstractSession. updateObject(Object domainObject)PUBLIC: Update the object and all of its privately owned parts in the database.voidDatabaseSessionImpl. writeAllObjects(Collection domainObjects)PUBLIC: Write all of the objects and all of their privately owned parts in the database.voidDatabaseSessionImpl. writeAllObjects(Vector domainObjects)PUBLIC: Write all of the objects and all of their privately owned parts in the database.protected voidAbstractSession. writeAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: Write all of the objects and all of their privately owned parts in the database.ObjectAbstractSession. writeObject(Object domainObject)PUBLIC: Write the object and all of its privately owned parts in the database. -
Uses of OptimisticLockException in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings that throw OptimisticLockException Modifier and Type Method Description protected voidAggregateCollectionMapping. compareListsAndWrite(List previousList, List currentList, WriteObjectQuery query)INTERNAL: Old and new lists are compared and only the changes are written to the database.protected voidCollectionMapping. compareListsAndWrite(List previousList, List currentList, WriteObjectQuery query)INTERNAL: Old and new lists are compared and only the changes are written to the database.protected voidAggregateCollectionMapping. compareListsAndWrite_NonUpdatableListOrderField(List previousList, List currentList, WriteObjectQuery query)INTERNAL: Old and new lists are compared and only the changes are written to the database.protected voidAggregateCollectionMapping. compareListsAndWrite_UpdatableListOrderField(List previousList, List currentList, WriteObjectQuery query)INTERNAL: Old and new lists are compared and only the changes are written to the database.protected voidCollectionMapping. compareObjectsAndWrite(WriteObjectQuery query)INTERNAL: The memory objects are compared and only the changes are written to the database.protected voidOneToManyMapping. deleteReferenceObjectsLeftOnDatabase(DeleteObjectQuery query)This method will make sure that all the records privately owned by this mapping are actually removed.VectorAggregateCollectionMapping. getReferenceObjectKeys(ObjectLevelModifyQuery query)INTERNAL: get reference object keysprotected voidObjectReferenceMapping. insert(WriteObjectQuery query)INTERNAL: Insert privately owned partsprotected voidManyToManyMapping. insertAddedObjectEntry(ObjectLevelModifyQuery query, Object objectAdded, Map extraData)INTERNAL: An object was added to the collection during an update, insert it.voidManyToManyMapping. insertTargetObjects(WriteObjectQuery query)INTERNAL: Write the target objects if the cascade policy requires them to be written first.protected voidAggregateCollectionMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)INTERNAL: An object was added to the collection during an update, insert it if private.protected voidCollectionMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)INTERNAL: An object was added to the collection during an update, insert it if private.protected voidManyToManyMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)INTERNAL: An object was added to the collection during an update, insert it if private.protected voidOneToManyMapping. objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData)INTERNAL: An object was added to the collection during an update, insert it if private.protected voidAggregateCollectionMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidCollectionMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidManyToManyMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidOneToManyMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidAggregateCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Object backupClone)protected voidAggregateCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Map backupCloneKeyedCache, Object cachedKey)INTERNAL: An object is still in the collection, update it as it may have changed.protected voidCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object)INTERNAL: An object is still in the collection, update it as it may have changed.protected voidCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Map backupclones, Object key)INTERNAL: An object is still in the collection, update it as it may have changed.voidAggregateMapping. postDelete(DeleteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidObjectReferenceMapping. postDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidAggregateMapping. postDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidAggregateMapping. postInsert(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidObjectReferenceMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidOneToManyMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert the reference objects.voidAggregateMapping. postInsertAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. postUpdate(WriteObjectQuery writeQuery)INTERNAL: Update the privately owned partsvoidAggregateMapping. postUpdate(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidObjectReferenceMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsvoidOneToManyMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update the reference objects.voidAggregateMapping. postUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidAggregateMapping. preDelete(DeleteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidObjectReferenceMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidOneToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidOneToOneMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidUnidirectionalOneToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidAggregateMapping. preDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. preInsert(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidAggregateMapping. preInsert(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidCollectionMapping. preInsert(WriteObjectQuery query)INTERNAL: Propagate preInsert event to container policy if necessaryvoidObjectReferenceMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidAggregateMapping. preInsertAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateMapping. preUpdate(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidObjectReferenceMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsvoidAggregateMapping. preUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.protected voidObjectReferenceMapping. update(WriteObjectQuery query)INTERNAL: Update the private owned part.protected voidAggregateCollectionMapping. verifyDeleteForUpdate(DeleteObjectQuery query)Verifying deletes make sure that all the records privately owned by this mapping are actually removed.voidCollectionMapping. writeChanges(ObjectChangeSet changeSet, WriteObjectQuery query)INTERNAL: Write the changes defined in the change set for the mapping. -
Uses of OptimisticLockException in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation that throw OptimisticLockException Modifier and Type Method Description voidAbstractCompositeCollectionMapping. postDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. postInsertAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. postUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. preDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. preInsertAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. preUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor. -
Uses of OptimisticLockException in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures that throw OptimisticLockException Modifier and Type Method Description voidReferenceMapping. postDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidReferenceMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidReferenceMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsvoidNestedTableMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidReferenceMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidNestedTableMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidReferenceMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidNestedTableMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update the privately owned partsvoidReferenceMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsprotected voidNestedTableMapping. verifyDeleteForUpdate(DeleteObjectQuery query)INTERNAL: Verifying deletes make sure that all the records privately owned by this mapping are actually removed. -
Uses of OptimisticLockException in org.eclipse.persistence.queries
Methods in org.eclipse.persistence.queries that throw OptimisticLockException Modifier and Type Method Description ObjectDatabaseQuery. execute(AbstractSession session, AbstractRecord translationRow)INTERNAL: Execute the query.ObjectObjectLevelReadQuery. execute(AbstractSession session, AbstractRecord translationRow)INTERNAL: Execute the query.voidUpdateObjectQuery. executeCommit()INTERNAL: Perform an update.voidWriteObjectQuery. executeCommit()INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.voidUpdateObjectQuery. executeCommitWithChangeSet()INTERNAL: Perform an update.voidWriteObjectQuery. executeCommitWithChangeSet()INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.abstract ObjectDatabaseQuery. executeDatabaseQuery()INTERNAL: Execute the queryObjectDeleteObjectQuery. executeDatabaseQuery()INTERNAL: Perform the work to delete an object.ObjectWriteObjectQuery. executeDatabaseQuery()INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.ObjectDatabaseQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Override query execution where Session is a UnitOfWork.ObjectModifyAllQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Override query execution where Session is a UnitOfWork.ObjectObjectLevelReadQuery. 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. -
Uses of OptimisticLockException in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions that throw OptimisticLockException Modifier and Type Method Description voidUnitOfWork. commit()PUBLIC: Commit the unit of work to its parent.voidUnitOfWork. commitAndResume()PUBLIC: Commit the unit of work to its parent.voidUnitOfWork. commitAndResumeOnFailure()PUBLIC: Commit the unit of work to its parent.ObjectDatabaseSession. deleteObject(Object domainObject)PUBLIC: Delete the object and all of its privately owned parts from the database.ObjectDatabaseSession. updateObject(Object domainObject)PUBLIC: Update the object and all of its privately owned parts in the database.ObjectDatabaseSession. writeObject(Object domainObject)PUBLIC: Write the object and all of its privately owned parts in the database.
-