Class DeleteCoordinatorAudit
java.lang.Object
org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
org.hibernate.persister.entity.mutation.DeleteCoordinatorAudit
- All Implemented Interfaces:
AuditWriter, DeleteCoordinator, MutationCoordinator
public class DeleteCoordinatorAudit
extends AbstractMutationCoordinator
implements DeleteCoordinator
Delete coordinator for audited entities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.hibernate.engine.jdbc.batch.internal.BasicBatchKeyprotected final boolean[]Fields inherited from class AbstractMutationCoordinator
dialect, entityPersister, factory, mutationExecutorService -
Constructor Summary
ConstructorsConstructorDescriptionDeleteCoordinatorAudit(EntityPersister entityPersister, SessionFactoryImplementor factory, DeleteCoordinator currentDeleteCoordinator) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(Object entity, Object id, Object version, SharedSessionContractImplementor session) Delete a persistent instance.protected voidenqueueAuditEntry(EntityKey entityKey, Object entity, Object[] values, ModificationType modificationType, SharedSessionContractImplementor session) Enqueue an audit entry for deferred writing at transaction completion.protected BatchKeyThe operation group used to perform the mutation unless some form of dynamic mutation is necessary.protected EntityKeyresolveEntityKey(Object entity, Object id, SharedSessionContractImplementor session) voidwriteAuditRow(EntityKey entityKey, Object entity, Object[] values, ModificationType modificationType, SharedSessionContractImplementor session) Write an audit row, called byAuditWorkQueueat transaction completion.Methods inherited from class AbstractMutationCoordinator
applyKeyRestriction, applyTenantRestriction, bindPartitionColumnValueBindings, bindTenantRestriction, breakDownKeyJdbcValues, createAuxiliaryTableMapping, createOperation, createOperationGroup, dialect, entityPersister, factory, handleValueGeneration, hasValueGenerationOnExecution, needsRowId, resolveBatchKeyAccess
-
Field Details
-
auditedPropertyMask
protected final boolean[] auditedPropertyMask -
auditBatchKey
protected final org.hibernate.engine.jdbc.batch.internal.BasicBatchKey auditBatchKey
-
-
Constructor Details
-
DeleteCoordinatorAudit
public DeleteCoordinatorAudit(EntityPersister entityPersister, SessionFactoryImplementor factory, DeleteCoordinator currentDeleteCoordinator)
-
-
Method Details
-
getStaticMutationOperationGroup
Description copied from interface:MutationCoordinatorThe operation group used to perform the mutation unless some form of dynamic mutation is necessary.- Specified by:
getStaticMutationOperationGroupin interfaceMutationCoordinator
-
getBatchKey
- Specified by:
getBatchKeyin classAbstractMutationCoordinator
-