Class AbstractDeleteCoordinator
- java.lang.Object
-
- org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
-
- org.hibernate.persister.entity.mutation.AbstractDeleteCoordinator
-
- All Implemented Interfaces:
DeleteCoordinator
- Direct Known Subclasses:
DeleteCoordinatorSoft
,DeleteCoordinatorStandard
public abstract class AbstractDeleteCoordinator extends AbstractMutationCoordinator implements DeleteCoordinator
Template support for DeleteCoordinator implementations. Mainly centers around delegation via generateOperationGroup(java.lang.Object, java.lang.Object[], boolean, org.hibernate.engine.spi.SharedSessionContractImplementor).
-
-
Field Summary
-
Fields inherited from class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
dialect, entityPersister, factory, mutationExecutorService
-
-
Constructor Summary
Constructors Constructor Description AbstractDeleteCoordinator(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
-
AbstractDeleteCoordinator
public AbstractDeleteCoordinator(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory)
-
-
Method Detail
-
getStaticDeleteGroup
public MutationOperationGroup getStaticDeleteGroup()
Description copied from interface:DeleteCoordinator
The operation group used to perform the deletion unless some form of dynamic delete is necessary- Specified by:
getStaticDeleteGroup
in interfaceDeleteCoordinator
-
getBatchKey
public BasicBatchKey getBatchKey()
- Specified by:
getBatchKey
in classAbstractMutationCoordinator
-
generateOperationGroup
protected abstract MutationOperationGroup generateOperationGroup(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session)
-
coordinateDelete
public void coordinateDelete(Object entity, Object id, Object version, SharedSessionContractImplementor session)
Description copied from interface:DeleteCoordinator
Perform the deletions- Specified by:
coordinateDelete
in interfaceDeleteCoordinator
-
doDynamicDelete
protected void doDynamicDelete(Object entity, Object id, Object rowId, Object[] loadedState, SharedSessionContractImplementor session)
-
applyDynamicDeleteTableDetails
protected void applyDynamicDeleteTableDetails(Object id, Object rowId, Object[] loadedState, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, 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)
-
applyStaticDeleteTableDetails
protected void applyStaticDeleteTableDetails(Object id, Object rowId, Object[] loadedState, Object version, boolean applyVersion, MutationExecutor mutationExecutor, SharedSessionContractImplementor session)
-
resolveNoVersionDeleteGroup
protected MutationOperationGroup resolveNoVersionDeleteGroup(SharedSessionContractImplementor session)
-
-