Class ReactiveEntityUpdateAction
java.lang.Object
org.hibernate.action.internal.EntityAction
org.hibernate.action.internal.EntityUpdateAction
org.hibernate.reactive.engine.impl.ReactiveEntityUpdateAction
- All Implemented Interfaces:
Serializable,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 reactific
EntityUpdateAction.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveEntityUpdateAction(Object id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.event.spi.EventSource session) Constructs an EntityUpdateAction -
Method Summary
Methods inherited from class org.hibernate.action.internal.EntityUpdateAction
cacheAfterUpdate, doAfterTransactionCompletion, getDirtyFields, getNaturalIdMapping, getNextVersion, getPreviousNaturalIdValues, getPreviousState, getPreviousVersion, getRowId, getState, handleDeleted, handleNaturalIdResolutions, hasDirtyCollection, hasPostCommitEventListeners, lockCacheItem, postCommitUpdate, postUpdate, preUpdate, setCacheEntry, setLock, updateCache, updateCacheItemMethods inherited from class org.hibernate.action.internal.EntityAction
afterDeserialize, beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getEventListenerGroups, getId, getInstance, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, isVeto, needsAfterTransactionCompletion, setVeto, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.action.spi.Executable
afterDeserialize, beforeExecutions, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpaces
-
Constructor Details
-
ReactiveEntityUpdateAction
public ReactiveEntityUpdateAction(Object id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, 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 Details
-
reactiveExecute
- Specified by:
reactiveExecutein interfaceReactiveExecutable- Throws:
org.hibernate.HibernateException
-
execute
public void execute() throws org.hibernate.HibernateException- Specified by:
executein interfaceorg.hibernate.action.spi.Executable- Overrides:
executein classorg.hibernate.action.internal.EntityUpdateAction- Throws:
org.hibernate.HibernateException
-