Class ReactiveEntityIdentityInsertAction

  • 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, ReactiveEntityInsertAction, ReactiveExecutable

    public class ReactiveEntityIdentityInsertAction
    extends org.hibernate.action.internal.EntityIdentityInsertAction
    implements ReactiveEntityInsertAction
    A reactific EntityIdentityInsertAction (used when inserting into tables with autoincrement columns).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ReactiveEntityIdentityInsertAction​(java.lang.Object[] state, java.lang.Object instance, org.hibernate.persister.entity.EntityPersister persister, boolean isVersionIncrementDisabled, org.hibernate.event.spi.EventSource session, boolean isDelayed)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean areTransientReferencesNullified()  
      org.hibernate.action.internal.AbstractEntityInsertAction asAbstractEntityInsertAction()  
      void execute()  
      org.hibernate.engine.spi.EntityKey getEntityKey()  
      boolean isExecuted()  
      boolean isVersionIncrementDisabled()  
      protected void markExecuted()  
      java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute()  
      void setTransientReferencesNullified()  
      • Methods inherited from class org.hibernate.action.internal.EntityIdentityInsertAction

        doAfterTransactionCompletion, generateDelayedEntityKey, getGeneratedId, hasPostCommitEventListeners, isEarlyInsert, needsAfterTransactionCompletion, postCommitInsert, postInsert, preInsert, setEntityKey, setGeneratedId
      • Methods inherited from class org.hibernate.action.internal.AbstractEntityInsertAction

        addCollectionsByKeyToPersistenceContext, afterDeserialize, findNonNullableTransientEntities, getState, handleNaturalIdPostSaveNotifications, handleNaturalIdPreSaveNotifications, makeEntityManaged, nullifyTransientReferencesIfNotAlready
      • Methods inherited from class org.hibernate.action.internal.EntityAction

        beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getFastSessionServices, getId, getInstance, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, isVeto, setVeto, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface org.hibernate.engine.spi.ComparableExecutable

        getPrimarySortClassifier, getSecondarySortIndex
      • Methods inherited from interface org.hibernate.action.spi.Executable

        afterDeserialize, beforeExecutions, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpaces
    • Constructor Detail

      • ReactiveEntityIdentityInsertAction

        public ReactiveEntityIdentityInsertAction​(java.lang.Object[] state,
                                                  java.lang.Object instance,
                                                  org.hibernate.persister.entity.EntityPersister persister,
                                                  boolean isVersionIncrementDisabled,
                                                  org.hibernate.event.spi.EventSource session,
                                                  boolean isDelayed)
    • Method Detail

      • 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.EntityIdentityInsertAction
        Throws:
        org.hibernate.HibernateException
      • reactiveExecute

        public java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute()
                                                                             throws org.hibernate.HibernateException
        Specified by:
        reactiveExecute in interface ReactiveExecutable
        Throws:
        org.hibernate.HibernateException
      • getEntityKey

        public org.hibernate.engine.spi.EntityKey getEntityKey()
        Specified by:
        getEntityKey in interface ReactiveEntityInsertAction
        Overrides:
        getEntityKey in class org.hibernate.action.internal.EntityIdentityInsertAction
      • markExecuted

        protected void markExecuted()
        Overrides:
        markExecuted in class org.hibernate.action.internal.AbstractEntityInsertAction