Class AbstractDeleteCoordinator
java.lang.Object
org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
org.hibernate.persister.entity.mutation.AbstractDeleteCoordinator
- All Implemented Interfaces:
DeleteCoordinator
,MutationCoordinator
- 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
ConstructorDescriptionAbstractDeleteCoordinator
(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyDynamicDeleteTableDetails
(Object id, Object rowId, Object[] loadedState, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session) protected void
applyId
(Object id, Object rowId, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session) protected void
applyLocking
(Object version, Object[] loadedState, MutationExecutor mutationExecutor, SharedSessionContractImplementor session) protected void
applyStaticDeleteTableDetails
(Object id, Object rowId, Object[] loadedState, Object version, boolean applyVersion, MutationExecutor mutationExecutor, SharedSessionContractImplementor session) void
delete
(Object entity, Object id, Object version, SharedSessionContractImplementor session) Delete a persistent instance.protected void
doDynamicDelete
(Object entity, Object id, Object rowId, Object[] loadedState, SharedSessionContractImplementor session) protected void
doStaticDelete
(Object entity, Object id, Object rowId, Object[] loadedState, Object version, SharedSessionContractImplementor session) protected abstract MutationOperationGroup
generateOperationGroup
(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session) The operation group used to perform the mutation unless some form of dynamic mutation is necessary.protected MutationOperationGroup
Methods inherited from class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
applyKeyRestriction, bindPartitionColumnValueBindings, breakDownKeyJdbcValues, createOperationGroup, dialect, entityPersister, factory, handleValueGeneration, needsRowId, resolveBatchKeyAccess
-
Constructor Details
-
AbstractDeleteCoordinator
public AbstractDeleteCoordinator(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory)
-
-
Method Details
-
getStaticMutationOperationGroup
Description copied from interface:MutationCoordinator
The operation group used to perform the mutation unless some form of dynamic mutation is necessary.- Specified by:
getStaticMutationOperationGroup
in interfaceMutationCoordinator
-
getBatchKey
- Specified by:
getBatchKey
in classAbstractMutationCoordinator
-