public class ReactiveEntityUpdateAction extends EntityUpdateAction implements ReactiveExecutable
EntityUpdateAction
.Constructor and Description |
---|
ReactiveEntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SharedSessionContractImplementor session) Constructs an EntityUpdateAction |
Modifier and Type | Method and Description |
---|---|
void | execute() |
CompletionStage<Void> | reactiveExecute() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public ReactiveEntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SharedSessionContractImplementor session)
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 sessionpublic CompletionStage<Void> reactiveExecute() throws HibernateException
reactiveExecute
in interface ReactiveExecutable
HibernateException
public void execute() throws HibernateException
HibernateException