Top Description Methods
org.hibernate.action

public Interface Executable

Known Direct Implementers
org.hibernate.action.BulkOperationCleanupAction, org.hibernate.action.CollectionAction, org.hibernate.action.EntityAction
Imports
org.hibernate.HibernateException, java.io.Serializable

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.
Authors
Gavin King, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
beforeExecutions()

Called before executing any actions.

public void
execute()

Execute this action

public AfterTransactionCompletionProcess

Returns:

The after-transaction-completion process, or null if we have no after-transaction-completion process
getAfterTransactionCompletionProcess
()

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

public BeforeTransactionCompletionProcess

Returns:

The before-transaction-completion process, or null if we have no before-transaction-completion process
getBeforeTransactionCompletionProcess
()

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

public Serializable[]

Returns:

The spaces affected by this action.
getPropertySpaces
()

What spaces (tables) are affected by this action?

Method Detail

beforeExecutionsback to summary
public void beforeExecutions() throws HibernateException

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

Exceptions
HibernateException:
Indicates a problem during preparation.
executeback to summary
public void execute() throws HibernateException

Execute this action

Exceptions
HibernateException:
Indicates a problem during execution.
getAfterTransactionCompletionProcessback to summary
public AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()

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

Returns:AfterTransactionCompletionProcess

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

getBeforeTransactionCompletionProcessback to summary
public BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()

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

Returns:BeforeTransactionCompletionProcess

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

getPropertySpacesback to summary
public Serializable[] getPropertySpaces()

What spaces (tables) are affected by this action?

Returns:Serializable[]

The spaces affected by this action.