Interface UpdateCoordinator
-
- All Superinterfaces:
MutationCoordinator
- All Known Implementing Classes:
MergeCoordinator
,UpdateCoordinatorNoOp
,UpdateCoordinatorStandard
public interface UpdateCoordinator extends MutationCoordinator
Coordinates the updating of an entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, boolean batching, SharedSessionContractImplementor session)
void
forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
@Nullable GeneratedValues
update(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
Update a persistent instance.-
Methods inherited from interface org.hibernate.persister.entity.mutation.MutationCoordinator
getStaticMutationOperationGroup
-
-
-
-
Method Detail
-
update
@Nullable GeneratedValues update(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
Update a persistent instance.- Returns:
- The generated values if any,
null
otherwise.
-
forceVersionIncrement
void forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
-
forceVersionIncrement
default void forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, boolean batching, SharedSessionContractImplementor session)
-
-