Class 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 reactific EntityUpdateAction.
    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
      • 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 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 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 Detail

      • reactiveExecute

        public java.util.concurrent.CompletionStage<java.lang.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