org.hibernate.action

Class EntityIdentityInsertAction

Implemented Interfaces:
Comparable, Executable, Serializable

public final class EntityIdentityInsertAction
extends EntityAction

Constructor Summary

EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, SessionImplementor session, boolean isDelayed)

Method Summary

void
afterTransactionCompletion(boolean success)
void
execute()
EntityKey
getDelayedEntityKey()
Serializable
getGeneratedId()
boolean
hasAfterTransactionCompletion()
protected boolean
hasPostCommitEventListeners()

Methods inherited from class org.hibernate.action.EntityAction

beforeExecutions, compareTo, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, hasAfterTransactionCompletion, hasPostCommitEventListeners, toString

Constructor Details

EntityIdentityInsertAction

public EntityIdentityInsertAction(Object[] state,
                                  Object instance,
                                  EntityPersister persister,
                                  SessionImplementor session,
                                  boolean isDelayed)
            throws HibernateException

Method Details

afterTransactionCompletion

public void afterTransactionCompletion(boolean success)
            throws HibernateException
Specified by:
afterTransactionCompletion in interface Executable

execute

public void execute()
            throws HibernateException
Specified by:
execute in interface Executable

getDelayedEntityKey

public EntityKey getDelayedEntityKey()

getGeneratedId

public final Serializable getGeneratedId()

hasAfterTransactionCompletion

public boolean hasAfterTransactionCompletion()
Specified by:
hasAfterTransactionCompletion in interface Executable
Overrides:
hasAfterTransactionCompletion in interface EntityAction

hasPostCommitEventListeners

protected boolean hasPostCommitEventListeners()
Overrides:
hasPostCommitEventListeners in interface EntityAction