Class UpdateCoordinatorNoOp
- java.lang.Object
-
- org.hibernate.persister.entity.mutation.UpdateCoordinatorNoOp
-
- All Implemented Interfaces:
MutationCoordinator
,UpdateCoordinator
public class UpdateCoordinatorNoOp extends Object implements UpdateCoordinator
-
-
Constructor Summary
Constructors Constructor Description UpdateCoordinatorNoOp(AbstractEntityPersister entityPersister)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
MutationOperationGroup
getStaticMutationOperationGroup()
The operation group used to perform the mutation unless some form of dynamic mutation is necessary.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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.persister.entity.mutation.UpdateCoordinator
forceVersionIncrement
-
-
-
-
Constructor Detail
-
UpdateCoordinatorNoOp
public UpdateCoordinatorNoOp(AbstractEntityPersister entityPersister)
-
-
Method Detail
-
getStaticMutationOperationGroup
public MutationOperationGroup getStaticMutationOperationGroup()
Description copied from interface:MutationCoordinator
The operation group used to perform the mutation unless some form of dynamic mutation is necessary.- Specified by:
getStaticMutationOperationGroup
in interfaceMutationCoordinator
-
update
public GeneratedValues update(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
Description copied from interface:UpdateCoordinator
Update a persistent instance.- Specified by:
update
in interfaceUpdateCoordinator
- Returns:
- The generated values if any,
null
otherwise.
-
forceVersionIncrement
public void forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
- Specified by:
forceVersionIncrement
in interfaceUpdateCoordinator
-
-