public final class EntityIdentityInsertAction extends EntityAction
| Constructor and Description |
|---|
EntityIdentityInsertAction(Object[] state,
Object instance,
EntityPersister persister,
SessionImplementor session,
boolean isDelayed) |
| 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
|
EntityKey |
getDelayedEntityKey() |
Serializable |
getGeneratedId() |
protected boolean |
hasPostCommitEventListeners() |
boolean |
needsAfterTransactionCompletion() |
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, toStringpublic EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, SessionImplementor session, boolean isDelayed) throws HibernateException
HibernateExceptionpublic void execute()
throws HibernateException
ExecutableHibernateException - Indicates a problem during execution.public boolean needsAfterTransactionCompletion()
needsAfterTransactionCompletion in class EntityActionprotected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners in class EntityActionpublic void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
AfterTransactionCompletionProcesssuccess - Did the transaction complete successfully? True means it did.session - The session on which the transaction is completing.public final Serializable getGeneratedId()
public EntityKey getDelayedEntityKey()
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved