org.hibernate.action
Interface Executable
- BulkOperationCleanupAction, CollectionAction, CollectionRecreateAction, CollectionRemoveAction, CollectionUpdateAction, EntityAction, EntityDeleteAction, EntityIdentityInsertAction, EntityInsertAction, EntityUpdateAction
public interface Executable
An operation which may be scheduled for later execution.
Usually, the operation is a database insert/update/delete,
together with required second-level cache management.
afterTransactionCompletion
public void afterTransactionCompletion(boolean success)
throws HibernateException
Called after the transaction completes
beforeExecutions
public void beforeExecutions()
throws HibernateException
Called before executing any actions
getPropertySpaces
public Serializable[] getPropertySpaces()
What spaces (tables) are affected by this action?
hasAfterTransactionCompletion
public boolean hasAfterTransactionCompletion()
Do we need to retain this instance until after the
transaction completes?
- false if this class defines a no-op
hasAfterTransactionCompletion()