public interface

Executable

org.hibernate.action.Executable
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
abstract void beforeExecutions()
Called before executing any actions.
abstract void execute()
Execute this action
abstract AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()
Get the after-transaction-completion process, if any, for this action.
abstract BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()
Get the before-transaction-completion process, if any, for this action.
abstract Serializable[] getPropertySpaces()
What spaces (tables) are affected by this action?

Public Methods

public abstract void beforeExecutions ()

Called before executing any actions. Gives actions a chance to perform any preparation.

Throws
HibernateException Indicates a problem during preparation.

public abstract void execute ()

Execute this action

Throws
HibernateException Indicates a problem during execution.

public abstract AfterTransactionCompletionProcess getAfterTransactionCompletionProcess ()

Get the after-transaction-completion process, if any, for this action.

Returns
  • The after-transaction-completion process, or null if we have no after-transaction-completion process

public abstract BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess ()

Get the before-transaction-completion process, if any, for this action.

Returns
  • The before-transaction-completion process, or null if we have no before-transaction-completion process

public abstract Serializable[] getPropertySpaces ()

What spaces (tables) are affected by this action?

Returns
  • The spaces affected by this action.