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.
Modifier and Type | Method and Description |
---|---|
void |
afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization
|
void |
beforeExecutions()
Called before executing any actions.
|
void |
execute()
Execute this action.
|
AfterTransactionCompletionProcess |
getAfterTransactionCompletionProcess()
Get the after-transaction-completion process, if any, for this action.
|
BeforeTransactionCompletionProcess |
getBeforeTransactionCompletionProcess()
Get the before-transaction-completion process, if any, for this action.
|
Serializable[] |
getPropertySpaces()
What spaces (tables) are affected by this action?
|
Serializable[] getPropertySpaces()
What spaces (tables) are affected by this action?
void beforeExecutions() throws HibernateException
Called before executing any actions. Gives actions a chance to perform any preparation.
HibernateException
- Indicates a problem during preparation.void execute() throws HibernateException
Execute this action.
HibernateException
- Indicates a problem during execution.AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()
Get the after-transaction-completion process, if any, for this action.
BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()
Get the before-transaction-completion process, if any, for this action.
void afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization
session
- The session being deserializedCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.