java.lang.Object | |||
↳ | org.hibernate.event.AbstractEvent | ||
↳ | org.hibernate.event.AbstractPreDatabaseOperationEvent | ||
↳ | org.hibernate.event.PreUpdateEvent |
Represents a pre-update event, which occurs just prior to performing the update of an entity in the database.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an event containing the pertinent information.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The old state of the entity at the time it was last loaded from the
database; can be null in the case of detached entities.
| |||||||||||
Retrieves the state to be used in the update.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.hibernate.event.AbstractPreDatabaseOperationEvent
| |||||||||||
From class
org.hibernate.event.AbstractEvent
| |||||||||||
From class
java.lang.Object
|
Constructs an event containing the pertinent information.
entity | The entity to be updated. |
---|---|
id | The id of the entity to use for updating. |
state | The state to be updated. |
oldState | The state of the entity at the time it was loaded from the database. |
persister | The entity's persister. |
source | The session from which the event originated. |
The old state of the entity at the time it was last loaded from the database; can be null in the case of detached entities.
Retrieves the state to be used in the update.