Class RemoveCoordinatorTablePerSubclass
java.lang.Object
org.hibernate.persister.collection.mutation.RemoveCoordinatorTablePerSubclass
- All Implemented Interfaces:
CollectionOperationCoordinator
,RemoveCoordinator
OneToMany remove coordinator if the element is a
UnionSubclassEntityPersister
.-
Constructor Summary
ConstructorsConstructorDescriptionRemoveCoordinatorTablePerSubclass
(OneToManyPersister 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
-
RemoveCoordinatorTablePerSubclass
public RemoveCoordinatorTablePerSubclass(OneToManyPersister 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
-