Class ReactiveEntityUpdateAction
- java.lang.Object
-
- org.hibernate.action.internal.EntityAction
-
- org.hibernate.action.internal.EntityUpdateAction
-
- org.hibernate.reactive.engine.impl.ReactiveEntityUpdateAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<org.hibernate.engine.spi.ComparableExecutable>
,org.hibernate.action.spi.AfterTransactionCompletionProcess
,org.hibernate.action.spi.Executable
,org.hibernate.engine.spi.ComparableExecutable
,ReactiveExecutable
public class ReactiveEntityUpdateAction extends org.hibernate.action.internal.EntityUpdateAction implements ReactiveExecutable
A reactificEntityUpdateAction
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReactiveEntityUpdateAction(java.lang.Object id, java.lang.Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, java.lang.Object[] previousState, java.lang.Object previousVersion, java.lang.Object nextVersion, java.lang.Object instance, java.lang.Object rowId, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.event.spi.EventSource session)
Constructs an EntityUpdateAction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveExecute()
-
Methods inherited from class org.hibernate.action.internal.EntityUpdateAction
cacheAfterUpdate, doAfterTransactionCompletion, getDirtyFields, getNaturalIdMapping, getNextVersion, getPreviousNaturalIdValues, getPreviousState, getPreviousVersion, getRowId, getState, hasDirtyCollection, hasPostCommitEventListeners, postCommitUpdate, postUpdate, preUpdate, setCacheEntry, setLock, updateCache
-
Methods inherited from class org.hibernate.action.internal.EntityAction
afterDeserialize, beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getFastSessionServices, getId, getInstance, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, isVeto, needsAfterTransactionCompletion, setVeto, toString
-
-
-
-
Constructor Detail
-
ReactiveEntityUpdateAction
public ReactiveEntityUpdateAction(java.lang.Object id, java.lang.Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, java.lang.Object[] previousState, java.lang.Object previousVersion, java.lang.Object nextVersion, java.lang.Object instance, java.lang.Object rowId, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.event.spi.EventSource session)
Constructs an EntityUpdateAction- Parameters:
id
- The entity identifierstate
- The current (extracted) entity statedirtyProperties
- The indexes (in reference to state) properties with dirty statehasDirtyCollection
- Were any collections dirty?previousState
- The previous (stored) statepreviousVersion
- The previous (stored) versionnextVersion
- The incremented versioninstance
- The entity instancerowId
- The entity's rowidpersister
- The entity's persistersession
- The session
-
-
Method Detail
-
reactiveExecute
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute() throws org.hibernate.HibernateException
- Specified by:
reactiveExecute
in interfaceReactiveExecutable
- Throws:
org.hibernate.HibernateException
-
execute
public void execute() throws org.hibernate.HibernateException
- Specified by:
execute
in interfaceorg.hibernate.action.spi.Executable
- Overrides:
execute
in classorg.hibernate.action.internal.EntityUpdateAction
- Throws:
org.hibernate.HibernateException
-
-