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 MutationExecutorServicemutationExecutorService
-
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 intdoUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)CollectionMutationTargetgetMutationTarget()The collection being mutatedSessionFactoryImplementorgetSessionFactory()StringtoString()voidupdateRows(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:CollectionOperationCoordinatorThe collection being mutated- Specified by:
getMutationTargetin interfaceCollectionOperationCoordinator
-
updateRows
public void updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
- Specified by:
updateRowsin interfaceUpdateRowsCoordinator
-
doUpdate
protected abstract int doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
-
-