java.lang.Object | |
↳ | org.hibernate.action.BulkOperationCleanupAction |
An ActionQueue
Executable
for ensuring
shared cache cleanup in relation to performed bulk HQL queries.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an action to cleanup "affected cache regions" based on the
affected entity persisters.
| |||||||||||
Constructs an action to cleanup "affected cache regions" based on a
set of affected table spaces.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called before executing any actions.
| |||||||||||
Execute this action
| |||||||||||
Get the after-transaction-completion process, if any, for this action.
| |||||||||||
Get the before-transaction-completion process, if any, for this action.
| |||||||||||
What spaces (tables) are affected by this action?
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.action.Executable
|
Constructs an action to cleanup "affected cache regions" based on the affected entity persisters. The affected regions are defined as the region (if any) of the entity persisters themselves, plus the collection regions for any collection in which those entity persisters participate as elements/keys/etc.
session | The session to which this request is tied. |
---|---|
affectedQueryables | The affected entity persisters. |
Constructs an action to cleanup "affected cache regions" based on a
set of affected table spaces. This differs from BulkOperationCleanupAction(SessionImplementor, Queryable[])
in that here we have the affected table names. From those
we deduce the entity persisters which are affected based on the defined
table spaces
; and from there, we
determine the affected collection regions based on any collections
in which those entity persisters participate as elements/keys/etc.
session | The session to which this request is tied. |
---|---|
tableSpaces | The table spaces. |
Called before executing any actions. Gives actions a chance to perform any preparation.
HibernateException |
---|
Get the after-transaction-completion process, if any, for this action.
Get the before-transaction-completion process, if any, for this action.
What spaces (tables) are affected by this action?