java.lang.Object | |||
↳ | org.hibernate.event.AbstractEvent | ||
↳ | org.hibernate.event.AbstractPreDatabaseOperationEvent | ||
↳ | org.hibernate.event.PreDeleteEvent |
Represents a pre-delete event, which occurs just prior to performing the deletion of an entity from the database.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an event containing the pertinent information.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Getter for property 'deletedState'.
|
[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 deleted. |
---|---|
id | The id to use in the deletion. |
deletedState | The entity's state at deletion time. |
persister | The entity's persister. |
source | The session from which the event originated. |
Getter for property 'deletedState'. This is the entity state at the time of deletion (useful for optomistic locking and such).