Class ReactiveEntityRegularInsertAction
- java.lang.Object
-
- org.hibernate.action.internal.EntityAction
-
- org.hibernate.action.internal.AbstractEntityInsertAction
-
- org.hibernate.action.internal.EntityInsertAction
-
- org.hibernate.reactive.engine.impl.ReactiveEntityRegularInsertAction
-
- 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 ReactiveEntityRegularInsertAction extends org.hibernate.action.internal.EntityInsertAction implements ReactiveEntityInsertAction
A reactiveEntityInsertAction
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReactiveEntityRegularInsertAction(java.lang.Object id, java.lang.Object[] state, java.lang.Object instance, java.lang.Object version, org.hibernate.persister.entity.EntityPersister persister, boolean isVersionIncrementDisabled, org.hibernate.event.spi.EventSource session)
-
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.EntityInsertAction
cacheAfterInsert, cacheInsert, doAfterTransactionCompletion, getCacheEntry, getVersion, hasPostCommitEventListeners, isCachePutEnabled, isEarlyInsert, postCommitInsert, postInsert, preInsert, putCacheIfNecessary, setCacheEntry, setVersion
-
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, 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.engine.spi.ComparableExecutable
getPrimarySortClassifier, getSecondarySortIndex
-
Methods inherited from interface org.hibernate.action.spi.Executable
afterDeserialize, beforeExecutions, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpaces
-
Methods inherited from interface org.hibernate.reactive.engine.impl.ReactiveEntityInsertAction
compareActionTo, findNonNullableTransientEntities, getEntityName, getInstance, getPersister, getSession, getState, isEarlyInsert, isVeto, reactiveFindNonNullableTransientEntities, reactiveMakeEntityManaged, reactiveNullifyTransientReferencesIfNotAlready
-
-
-
-
Constructor Detail
-
ReactiveEntityRegularInsertAction
public ReactiveEntityRegularInsertAction(java.lang.Object id, java.lang.Object[] state, java.lang.Object instance, java.lang.Object version, org.hibernate.persister.entity.EntityPersister persister, boolean isVersionIncrementDisabled, org.hibernate.event.spi.EventSource session)
-
-
Method Detail
-
execute
public void execute() throws org.hibernate.HibernateException
- Specified by:
execute
in interfaceorg.hibernate.action.spi.Executable
- Overrides:
execute
in classorg.hibernate.action.internal.EntityInsertAction
- Throws:
org.hibernate.HibernateException
-
reactiveExecute
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute() throws org.hibernate.HibernateException
- Specified by:
reactiveExecute
in interfaceReactiveExecutable
- Throws:
org.hibernate.HibernateException
-
getEntityKey
public org.hibernate.engine.spi.EntityKey getEntityKey()
- Specified by:
getEntityKey
in interfaceReactiveEntityInsertAction
- Overrides:
getEntityKey
in classorg.hibernate.action.internal.EntityInsertAction
-
asAbstractEntityInsertAction
public org.hibernate.action.internal.AbstractEntityInsertAction asAbstractEntityInsertAction()
- Specified by:
asAbstractEntityInsertAction
in interfaceReactiveEntityInsertAction
-
markExecuted
protected void markExecuted()
- Overrides:
markExecuted
in classorg.hibernate.action.internal.AbstractEntityInsertAction
-
isExecuted
public boolean isExecuted()
- Specified by:
isExecuted
in interfaceReactiveEntityInsertAction
-
isVersionIncrementDisabled
public boolean isVersionIncrementDisabled()
- Specified by:
isVersionIncrementDisabled
in interfaceReactiveEntityInsertAction
-
areTransientReferencesNullified
public boolean areTransientReferencesNullified()
- Specified by:
areTransientReferencesNullified
in interfaceReactiveEntityInsertAction
-
setTransientReferencesNullified
public void setTransientReferencesNullified()
- Specified by:
setTransientReferencesNullified
in interfaceReactiveEntityInsertAction
-
-