Known Direct Subclasses
DefaultLoadEventListener |
Defines the default load event listeners used by hibernate for loading entities
in response to generated load events. |
DefaultLockEventListener |
Defines the default lock event listeners used by hibernate to lock entities
in response to generated lock events. |
|
Class Overview
A convenience base class for listeners that respond to requests to perform a
pessimistic lock upgrade on an entity.
Public Constructors
public
AbstractLockUpgradeEventListener
()
Protected Methods
Performs a pessimistic lock upgrade on a given entity, if needed.
Parameters
object
| The entity for which to upgrade the lock. |
entry
| The entity's EntityEntry instance. |
lockOptions
| contains the requested lock mode. |
source
| The session which is the source of the event being processed.
|