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 voidforceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)MutationOperationGroupgetStaticMutationOperationGroup()The operation group used to perform the mutation unless some form of dynamic mutation is necessary.GeneratedValuesupdate(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:MutationCoordinatorThe operation group used to perform the mutation unless some form of dynamic mutation is necessary.- Specified by:
getStaticMutationOperationGroupin 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:UpdateCoordinatorUpdate a persistent instance.- Specified by:
updatein interfaceUpdateCoordinator- Returns:
- The generated values if any,
nullotherwise.
-
forceVersionIncrement
public void forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
- Specified by:
forceVersionIncrementin interfaceUpdateCoordinator
-
-