Package org.hibernate.action
Class EntityIdentityInsertAction
java.lang.Object
org.hibernate.action.EntityAction
org.hibernate.action.EntityIdentityInsertAction
- All Implemented Interfaces:
Serializable,Comparable,AfterTransactionCompletionProcess,Executable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, SessionImplementor session, boolean isDelayed) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAfterTransactionCompletion(boolean success, SessionImplementor session) Perform whatever processing is encapsulated here after completion of the transaction.voidexecute()Execute this actionfinal Serializableprotected booleanbooleanMethods inherited from class org.hibernate.action.EntityAction
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, toString
-
Constructor Details
-
EntityIdentityInsertAction
public EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, SessionImplementor session, boolean isDelayed) throws HibernateException - Throws:
HibernateException
-
-
Method Details
-
execute
Description copied from interface:ExecutableExecute this action- Throws:
HibernateException- Indicates a problem during execution.
-
needsAfterTransactionCompletion
public boolean needsAfterTransactionCompletion()- Overrides:
needsAfterTransactionCompletionin classEntityAction
-
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()- Specified by:
hasPostCommitEventListenersin classEntityAction
-
doAfterTransactionCompletion
Description copied from interface:AfterTransactionCompletionProcessPerform whatever processing is encapsulated here after completion of the transaction.- Parameters:
success- Did the transaction complete successfully? True means it did.session- The session on which the transaction is completing.
-
getGeneratedId
-
getDelayedEntityKey
-