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:
Serializable,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 reactive
EntityInsertAction.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveEntityRegularInsertAction(Object id, Object[] state, Object instance, Object version, org.hibernate.persister.entity.EntityPersister persister, boolean isVersionIncrementDisabled, org.hibernate.event.spi.EventSource session) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollectionsByKeyToPersistenceContext(org.hibernate.engine.spi.PersistenceContext persistenceContext, Object[] objects) booleanorg.hibernate.action.internal.AbstractEntityInsertActionvoidexecute()org.hibernate.engine.spi.EntityKeygetRowId()booleanbooleanprotected voidvoidMethods inherited from class org.hibernate.action.internal.EntityInsertAction
cacheAfterInsert, cacheInsert, doAfterTransactionCompletion, getCacheEntry, getVersion, hasPostCommitEventListeners, isCachePutEnabled, isEarlyInsert, postCommitInsert, postInsert, preInsert, putCacheIfNecessary, setCacheEntry, setVersionMethods inherited from class org.hibernate.action.internal.AbstractEntityInsertAction
afterDeserialize, findNonNullableTransientEntities, getState, handleNaturalIdPostSaveNotifications, handleNaturalIdPreSaveNotifications, makeEntityManaged, nullifyTransientReferencesIfNotAlreadyMethods inherited from class org.hibernate.action.internal.EntityAction
beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getEventListenerGroups, getId, getInstance, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, isVeto, needsAfterTransactionCompletion, setVeto, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.hibernate.engine.spi.ComparableExecutable
getPrimarySortClassifier, getSecondarySortIndexMethods inherited from interface org.hibernate.action.spi.Executable
afterDeserialize, beforeExecutions, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpacesMethods inherited from interface org.hibernate.reactive.engine.impl.ReactiveEntityInsertAction
findNonNullableTransientEntities, getEntityName, getInstance, getPersister, getSession, getState, isEarlyInsert, isVeto, reactiveFindNonNullableTransientEntities, reactiveMakeEntityManaged, reactiveNullifyTransientReferencesIfNotAlready
-
Constructor Details
-
ReactiveEntityRegularInsertAction
-
-
Method Details
-
execute
public void execute() throws org.hibernate.HibernateException- Specified by:
executein interfaceorg.hibernate.action.spi.Executable- Overrides:
executein classorg.hibernate.action.internal.EntityInsertAction- Throws:
org.hibernate.HibernateException
-
reactiveExecute
- Specified by:
reactiveExecutein interfaceReactiveExecutable- Throws:
org.hibernate.HibernateException
-
getEntityKey
public org.hibernate.engine.spi.EntityKey getEntityKey()- Specified by:
getEntityKeyin interfaceReactiveEntityInsertAction- Overrides:
getEntityKeyin classorg.hibernate.action.internal.EntityInsertAction
-
addCollectionsByKeyToPersistenceContext
public void addCollectionsByKeyToPersistenceContext(org.hibernate.engine.spi.PersistenceContext persistenceContext, Object[] objects) - Specified by:
addCollectionsByKeyToPersistenceContextin interfaceReactiveEntityInsertAction- Overrides:
addCollectionsByKeyToPersistenceContextin classorg.hibernate.action.internal.AbstractEntityInsertAction
-
asAbstractEntityInsertAction
public org.hibernate.action.internal.AbstractEntityInsertAction asAbstractEntityInsertAction()- Specified by:
asAbstractEntityInsertActionin interfaceReactiveEntityInsertAction
-
markExecuted
protected void markExecuted()- Overrides:
markExecutedin classorg.hibernate.action.internal.AbstractEntityInsertAction
-
getRowId
- Specified by:
getRowIdin interfaceReactiveEntityInsertAction- Overrides:
getRowIdin classorg.hibernate.action.internal.EntityInsertAction
-
isExecuted
public boolean isExecuted()- Specified by:
isExecutedin interfaceReactiveEntityInsertAction
-
isVersionIncrementDisabled
public boolean isVersionIncrementDisabled()- Specified by:
isVersionIncrementDisabledin interfaceReactiveEntityInsertAction
-
areTransientReferencesNullified
public boolean areTransientReferencesNullified()- Specified by:
areTransientReferencesNullifiedin interfaceReactiveEntityInsertAction
-
setTransientReferencesNullified
public void setTransientReferencesNullified()- Specified by:
setTransientReferencesNullifiedin interfaceReactiveEntityInsertAction
-