Class RemoveCoordinatorStandard
java.lang.Object
org.hibernate.persister.collection.mutation.RemoveCoordinatorStandard
- All Implemented Interfaces:
CollectionOperationCoordinator
,RemoveCoordinator
Handles complete removal of a collection by its key
-
Constructor Summary
ConstructorDescriptionRemoveCoordinatorStandard
(CollectionMutationTarget mutationTarget, OperationProducer operationProducer, ServiceRegistry serviceRegistry) Creates the coordinator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllRows
(Object key, SharedSessionContractImplementor session) Delete all rows based on the collection-keyThe collection being mutatedThe SQL used to perform the removaltoString()
-
Constructor Details
-
RemoveCoordinatorStandard
public RemoveCoordinatorStandard(CollectionMutationTarget mutationTarget, OperationProducer operationProducer, ServiceRegistry serviceRegistry) Creates the coordinator.- Implementation Note:
- We pass a Supplier here and lazily create the operation-group because of timing (chicken-egg) back on the persister.
-
-
Method Details
-
toString
-
getMutationTarget
Description copied from interface:CollectionOperationCoordinator
The collection being mutated- Specified by:
getMutationTarget
in interfaceCollectionOperationCoordinator
-
getSqlString
Description copied from interface:RemoveCoordinator
The SQL used to perform the removal- Specified by:
getSqlString
in interfaceRemoveCoordinator
-