Class ReactiveEntityIdentityInsertAction
java.lang.Object
org.hibernate.action.internal.EntityAction
org.hibernate.action.internal.AbstractEntityInsertAction
org.hibernate.action.internal.EntityIdentityInsertAction
org.hibernate.reactive.engine.impl.ReactiveEntityIdentityInsertAction
- 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 ReactiveEntityIdentityInsertAction
extends org.hibernate.action.internal.EntityIdentityInsertAction
implements ReactiveEntityInsertAction
A reactific
EntityIdentityInsertAction (used when
inserting into tables with autoincrement columns).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveEntityIdentityInsertAction(Object[] state, Object instance, org.hibernate.persister.entity.EntityPersister persister, boolean isVersionIncrementDisabled, org.hibernate.event.spi.EventSource session, boolean isDelayed) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollectionsByKeyToPersistenceContext(org.hibernate.engine.spi.PersistenceContext persistenceContext, Object[] objects) booleanorg.hibernate.action.internal.AbstractEntityInsertActionvoidexecute()org.hibernate.engine.spi.EntityKeybooleanbooleanprotected voidvoidMethods inherited from class org.hibernate.action.internal.EntityIdentityInsertAction
doAfterTransactionCompletion, generateDelayedEntityKey, getGeneratedId, getRowId, hasPostCommitEventListeners, isEarlyInsert, needsAfterTransactionCompletion, postCommitInsert, postInsert, preInsert, setEntityKey, setGeneratedIdMethods 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, 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, getRowId, getSession, getState, isEarlyInsert, isVeto, reactiveFindNonNullableTransientEntities, reactiveMakeEntityManaged, reactiveNullifyTransientReferencesIfNotAlready
-
Constructor Details
-
ReactiveEntityIdentityInsertAction
-
-
Method Details
-
execute
public void execute() throws org.hibernate.HibernateException- Specified by:
executein interfaceorg.hibernate.action.spi.Executable- Overrides:
executein classorg.hibernate.action.internal.EntityIdentityInsertAction- 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.EntityIdentityInsertAction
-
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
-
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
-