Class ReactiveEntityDeleteAction

java.lang.Object
org.hibernate.action.internal.EntityAction
org.hibernate.action.internal.EntityDeleteAction
org.hibernate.reactive.engine.impl.ReactiveEntityDeleteAction
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
Direct Known Subclasses:
ReactiveOrphanRemovalAction

public class ReactiveEntityDeleteAction extends org.hibernate.action.internal.EntityDeleteAction implements ReactiveExecutable
A reactive EntityDeleteAction.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveEntityDeleteAction(Object id, Object[] state, Object version, Object instance, org.hibernate.persister.entity.EntityPersister persister, boolean isCascadeDeleteEnabled, org.hibernate.event.spi.EventSource session)
     
    ReactiveEntityDeleteAction(Object id, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.event.spi.EventSource session)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    Methods inherited from class org.hibernate.action.internal.EntityDeleteAction

    doAfterTransactionCompletion, getCurrentVersion, getLock, getNaturalIdValues, getState, getVersion, hasPostCommitEventListeners, isCascadeDeleteEnabled, lockCacheItem, postCommitDelete, postDelete, postDeleteLoaded, postDeleteUnloaded, preDelete, removeCacheItem, setLock, unlockCacheItem

    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

    • ReactiveEntityDeleteAction

      public ReactiveEntityDeleteAction(Object id, Object[] state, Object version, Object instance, org.hibernate.persister.entity.EntityPersister persister, boolean isCascadeDeleteEnabled, org.hibernate.event.spi.EventSource session)
    • ReactiveEntityDeleteAction

      public ReactiveEntityDeleteAction(Object id, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.event.spi.EventSource session)
  • Method Details

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

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