The PreUpdateEvent type exposes the following members.

Properties

  NameDescription
Public propertyEntity
The entity involved in the database operation.
(Inherited from AbstractPreDatabaseOperationEvent.)
Public propertyId
The id to be used in the database operation.
(Inherited from AbstractPreDatabaseOperationEvent.)
Public propertyOldState
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.
Public propertyPersister
The persister for the Entity.
(Inherited from AbstractPreDatabaseOperationEvent.)
Public propertySession
Returns the session event source for this event. This is the underlying session from which this event was generated.
(Inherited from AbstractEvent.)
Public propertyState
Retrieves the state to be used in the update.

See Also