org.hibernate.action
Class EntityIdentityInsertAction
java.lang.Object
org.hibernate.action.EntityAction
org.hibernate.action.EntityIdentityInsertAction
- All Implemented Interfaces:
- Serializable, Comparable, Executable
public final class EntityIdentityInsertAction
- extends EntityAction
- See Also:
- Serialized Form
EntityIdentityInsertAction
public EntityIdentityInsertAction(Object[] state,
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
afterTransactionCompletion
public void afterTransactionCompletion(boolean success)
throws HibernateException
- Description copied from interface:
Executable
- Called after the transaction completes
- Throws:
HibernateException
hasAfterTransactionCompletion
public boolean hasAfterTransactionCompletion()
- Description copied from interface:
Executable
- Do we need to retain this instance until after the
transaction completes?
- Specified by:
hasAfterTransactionCompletion
in interface Executable
- Overrides:
hasAfterTransactionCompletion
in class EntityAction
- Returns:
- false if this class defines a no-op
hasAfterTransactionCompletion()
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()
- Specified by:
hasPostCommitEventListeners
in class EntityAction
getGeneratedId
public final Serializable getGeneratedId()
getDelayedEntityKey
public EntityKey getDelayedEntityKey()