Class DeleteCoordinator
- java.lang.Object
-
- org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
-
- org.hibernate.persister.entity.mutation.DeleteCoordinator
-
public class DeleteCoordinator extends AbstractMutationCoordinator
Coordinates the deleting of an entity.
-
-
Field Summary
-
Fields inherited from class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
dialect, entityPersister, factory, mutationExecutorService
-
-
Constructor Summary
Constructors Constructor Description DeleteCoordinator(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory)
-
Method Summary
-
Methods inherited from class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
applyKeyRestriction, bindPartitionColumnValueBindings, breakDownKeyJdbcValues, createOperationGroup, dialect, entityPersister, factory, needsRowId, resolveBatchKeyAccess
-
-
-
-
Constructor Detail
-
DeleteCoordinator
public DeleteCoordinator(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory)
-
-
Method Detail
-
getStaticDeleteGroup
public MutationOperationGroup getStaticDeleteGroup()
-
getBatchKey
public BasicBatchKey getBatchKey()
- Specified by:
getBatchKey
in classAbstractMutationCoordinator
-
coordinateDelete
public void coordinateDelete(Object entity, Object id, Object version, SharedSessionContractImplementor session)
-
doDynamicDelete
protected void doDynamicDelete(Object entity, Object id, Object[] loadedState, SharedSessionContractImplementor session)
-
applyLocking
protected void applyLocking(Object version, Object[] loadedState, MutationExecutor mutationExecutor, SharedSessionContractImplementor session)
-
applyId
protected void applyId(Object id, Object rowId, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session)
-
doStaticDelete
protected void doStaticDelete(Object entity, Object id, Object rowId, Object[] loadedState, Object version, SharedSessionContractImplementor session)
-
resolveNoVersionDeleteGroup
protected MutationOperationGroup resolveNoVersionDeleteGroup(SharedSessionContractImplementor session)
-
generateOperationGroup
protected MutationOperationGroup generateOperationGroup(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session)
-
applyOptimisticLocking
protected void applyOptimisticLocking(MutationGroupBuilder mutationGroupBuilder, Object[] loadedState, SharedSessionContractImplementor session)
-
applyVersionBasedOptLocking
protected void applyVersionBasedOptLocking(MutationGroupBuilder mutationGroupBuilder)
-
applyNonVersionOptLocking
protected void applyNonVersionOptLocking(OptimisticLockStyle lockStyle, MutationGroupBuilder mutationGroupBuilder, Object[] loadedState, SharedSessionContractImplementor session)
-
-