Top Description Methods
org.hibernate.action.spi

public Interface Executable

Known Direct Subinterfaces
org.hibernate.engine.spi.ComparableExecutable
Known Direct Implementers
org.hibernate.action.internal.BulkOperationCleanupAction
Imports
org.hibernate.HibernateException, org.hibernate.event.spi.EventSource, org.checkerframework.checker.nullness.qual.Nullable

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
afterDeserialize(EventSource
The session being deserialized; must be an EventSource
session
)

Reconnect to session after deserialization

public void
beforeExecutions()

Called before executing any actions.

public void
execute()

Execute this action.

public @Nullable 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 @Nullable 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 String[]

Returns:

The spaces affected by this action.
getPropertySpaces
()

What spaces (tables) are affected by this action?

Method Detail

afterDeserializeback to summary
public void afterDeserialize(EventSource session)

Reconnect to session after deserialization

Parameters
session:EventSource

The session being deserialized; must be an EventSource

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 @Nullable AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()

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

Returns:@Nullable AfterTransactionCompletionProcess

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

getBeforeTransactionCompletionProcessback to summary
public @Nullable BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()

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

Returns:@Nullable BeforeTransactionCompletionProcess

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

getPropertySpacesback to summary
public String[] getPropertySpaces()

What spaces (tables) are affected by this action?

Returns:String[]

The spaces affected by this action.