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

    Constructors
    Constructor
    Description
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    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, updateCacheItem

    Methods 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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods 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 identifier
      state - The current (extracted) entity state
      dirtyProperties - The indexes (in reference to state) properties with dirty state
      hasDirtyCollection - Were any collections dirty?
      previousState - The previous (stored) state
      previousVersion - The previous (stored) version
      nextVersion - The incremented version
      instance - The entity instance
      rowId - The entity's rowid
      persister - The entity's persister
      session - The session
  • Method Details

    • reactiveExecute

      public CompletionStage<Void> reactiveExecute() throws org.hibernate.HibernateException
      Specified by:
      reactiveExecute in interface ReactiveExecutable
      Throws:
      org.hibernate.HibernateException
    • execute

      public void execute() throws org.hibernate.HibernateException
      Specified by:
      execute in interface org.hibernate.action.spi.Executable
      Overrides:
      execute in class org.hibernate.action.internal.EntityUpdateAction
      Throws:
      org.hibernate.HibernateException