Interface ReactiveEntityInsertAction

All Superinterfaces:
Comparable<org.hibernate.engine.spi.ComparableExecutable>, org.hibernate.engine.spi.ComparableExecutable, org.hibernate.action.spi.Executable, ReactiveExecutable, Serializable
All Known Implementing Classes:
ReactiveEntityIdentityInsertAction, ReactiveEntityRegularInsertAction

public interface ReactiveEntityInsertAction extends ReactiveExecutable, org.hibernate.engine.spi.ComparableExecutable
See Also:
  • AbstractEntityInsertAction
  • Method Details

    • isEarlyInsert

      boolean isEarlyInsert()
    • findNonNullableTransientEntities

      org.hibernate.engine.internal.NonNullableTransientDependencies findNonNullableTransientEntities()
    • getSession

      org.hibernate.engine.spi.SharedSessionContractImplementor getSession()
    • isVeto

      boolean isVeto()
    • getInstance

      Object getInstance()
    • getEntityName

      String getEntityName()
    • getState

      Object[] getState()
    • getRowId

      Object getRowId()
    • getPersister

      org.hibernate.persister.entity.EntityPersister getPersister()
    • isExecuted

      boolean isExecuted()
    • isVersionIncrementDisabled

      boolean isVersionIncrementDisabled()
    • areTransientReferencesNullified

      boolean areTransientReferencesNullified()
    • setTransientReferencesNullified

      void setTransientReferencesNullified()
    • getEntityKey

      org.hibernate.engine.spi.EntityKey getEntityKey()
    • reactiveNullifyTransientReferencesIfNotAlready

      default CompletionStage<Void> reactiveNullifyTransientReferencesIfNotAlready()
      Nullifies any references to transient entities in the entity state maintained by this action. References to transient entities should be nullified when an entity is made "managed" or when this action is executed, whichever is first.

      References will only be nullified the first time this method is called for a this object, so it can safely be called both when the entity is made "managed" and when this action is executed.

      See Also:
    • reactiveMakeEntityManaged

      default CompletionStage<Void> reactiveMakeEntityManaged()
      Make the entity "managed" by the persistence context.
      See Also:
      • AbstractEntityInsertAction.makeEntityManaged()
    • addCollectionsByKeyToPersistenceContext

      void addCollectionsByKeyToPersistenceContext(org.hibernate.engine.spi.PersistenceContext persistenceContext, Object[] objects)
    • reactiveFindNonNullableTransientEntities

      default CompletionStage<org.hibernate.engine.internal.NonNullableTransientDependencies> reactiveFindNonNullableTransientEntities()
    • asAbstractEntityInsertAction

      org.hibernate.action.internal.AbstractEntityInsertAction asAbstractEntityInsertAction()