org.hibernate.action
Class EntityIdentityInsertAction
java.lang.Object
org.hibernate.action.EntityAction
org.hibernate.action.EntityIdentityInsertAction
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, AfterTransactionCompletionProcess, Executable
public final class EntityIdentityInsertAction
- extends EntityAction
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.action.EntityAction |
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntityIdentityInsertAction
public EntityIdentityInsertAction(java.lang.Object[] state,
java.lang.Object instance,
EntityPersister persister,
SessionImplementor session,
boolean isDelayed)
throws HibernateException
- Throws:
HibernateException
execute
public void execute()
throws HibernateException
- Description copied from interface:
Executable
- Execute this action
- Throws:
HibernateException
- Indicates a problem during execution.
needsAfterTransactionCompletion
public boolean needsAfterTransactionCompletion()
- Overrides:
needsAfterTransactionCompletion
in class EntityAction
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()
- Specified by:
hasPostCommitEventListeners
in class EntityAction
doAfterTransactionCompletion
public void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
- Description copied from interface:
AfterTransactionCompletionProcess
- 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.
getGeneratedId
public final java.io.Serializable getGeneratedId()
getDelayedEntityKey
public EntityKey getDelayedEntityKey()
Copyright © 2013. All Rights Reserved.