站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

EntityIdentityInsertAction (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.action
Class EntityIdentityInsertAction

java.lang.Object
  extended byorg.hibernate.action.EntityAction
      extended byorg.hibernate.action.EntityIdentityInsertAction
All Implemented Interfaces:
Comparable, Executable, Serializable

public final class EntityIdentityInsertAction
extends EntityAction

See Also:
Serialized Form

Constructor Summary
EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, SessionImplementor session, boolean isDelayed)
           
 
Method Summary
 void afterTransactionCompletion(boolean success)
          Called after the transaction completes
 void execute()
          Execute this action
 EntityKey getDelayedEntityKey()
           
 Serializable getGeneratedId()
           
 boolean hasAfterTransactionCompletion()
          Do we need to retain this instance until after the transaction completes?
protected  boolean hasPostCommitEventListeners()
           
 
Methods inherited from class org.hibernate.action.EntityAction
beforeExecutions, compareTo, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityIdentityInsertAction

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

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

hasPostCommitEventListeners

protected boolean hasPostCommitEventListeners()
Specified by:
hasPostCommitEventListeners in class EntityAction

getGeneratedId

public final Serializable getGeneratedId()

getDelayedEntityKey

public EntityKey getDelayedEntityKey()