public final class EntityInsertAction extends EntityAction
| Constructor and Description |
|---|
EntityInsertAction(java.io.Serializable id,
java.lang.Object[] state,
java.lang.Object instance,
java.lang.Object version,
EntityPersister persister,
SessionImplementor session) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAfterTransactionCompletion(boolean success,
SessionImplementor session)
Perform whatever processing is encapsulated here after completion of the transaction.
|
void |
execute()
Execute this action
|
java.lang.Object[] |
getState() |
protected boolean |
hasPostCommitEventListeners() |
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, needsAfterTransactionCompletion, toStringpublic EntityInsertAction(java.io.Serializable id,
java.lang.Object[] state,
java.lang.Object instance,
java.lang.Object version,
EntityPersister persister,
SessionImplementor session)
throws HibernateException
HibernateExceptionpublic java.lang.Object[] getState()
public void execute()
throws HibernateException
ExecutableHibernateException - Indicates a problem during execution.public void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
throws HibernateException
success - Did the transaction complete successfully? True means it did.session - The session on which the transaction is completing.HibernateExceptionprotected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners in class EntityActionCopyright © 2013. All Rights Reserved.