Class AbstractUpdateRowsCoordinator
- java.lang.Object
-
- org.hibernate.persister.collection.mutation.AbstractUpdateRowsCoordinator
-
- All Implemented Interfaces:
CollectionOperationCoordinator
,UpdateRowsCoordinator
- Direct Known Subclasses:
UpdateRowsCoordinatorOneToMany
,UpdateRowsCoordinatorStandard
,UpdateRowsCoordinatorTablePerSubclass
public abstract class AbstractUpdateRowsCoordinator extends Object implements UpdateRowsCoordinator
-
-
Field Summary
Fields Modifier and Type Field Description protected MutationExecutorService
mutationExecutorService
-
Constructor Summary
Constructors Constructor Description AbstractUpdateRowsCoordinator(CollectionMutationTarget mutationTarget, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract int
doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
CollectionMutationTarget
getMutationTarget()
The collection being mutatedSessionFactoryImplementor
getSessionFactory()
String
toString()
void
updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
-
-
-
Field Detail
-
mutationExecutorService
protected final MutationExecutorService mutationExecutorService
-
-
Constructor Detail
-
AbstractUpdateRowsCoordinator
public AbstractUpdateRowsCoordinator(CollectionMutationTarget mutationTarget, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
-
getMutationTarget
public CollectionMutationTarget getMutationTarget()
Description copied from interface:CollectionOperationCoordinator
The collection being mutated- Specified by:
getMutationTarget
in interfaceCollectionOperationCoordinator
-
updateRows
public void updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
- Specified by:
updateRows
in interfaceUpdateRowsCoordinator
-
doUpdate
protected abstract int doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
-
-