Package org.hibernate.action
Class EntityInsertAction
java.lang.Object
org.hibernate.action.EntityAction
org.hibernate.action.EntityInsertAction
- All Implemented Interfaces:
Serializable,Comparable,AfterTransactionCompletionProcess,Executable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, SessionImplementor session) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAfterTransactionCompletion(boolean success, SessionImplementor session) Perform whatever processing is encapsulated here after completion of the transaction.voidexecute()Execute this actionObject[]getState()protected booleanMethods inherited from class org.hibernate.action.EntityAction
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, needsAfterTransactionCompletion, toString
-
Constructor Details
-
EntityInsertAction
public EntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, SessionImplementor session) throws HibernateException - Throws:
HibernateException
-
-
Method Details
-
getState
-
execute
Description copied from interface:ExecutableExecute this action- Throws:
HibernateException- Indicates a problem during execution.
-
doAfterTransactionCompletion
public void doAfterTransactionCompletion(boolean success, SessionImplementor session) throws HibernateException Perform 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.- Throws:
HibernateException
-
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()- Specified by:
hasPostCommitEventListenersin classEntityAction
-