java.lang.Object | ||
↳ | org.hibernate.event.AbstractEvent | |
↳ | org.hibernate.event.AbstractPreDatabaseOperationEvent |
![]() |
Represents an operation we are about to perform against the database.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an event containing the pertinent information.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the entity involved in the database operation.
| |||||||||||
The id to be used in the database operation.
| |||||||||||
The persister for the
entity . | |||||||||||
This method is deprecated.
Use
getSession() instead
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs an event containing the pertinent information.
source | The session from which the event originated. |
---|---|
entity | The entity to be invloved in the database operation. |
id | The entity id to be invloved in the database operation. |
persister | The entity's persister. |
Retrieves the entity involved in the database operation.
This method is deprecated.
Use getSession()
instead
Getter for property 'source'. This is the session from which the event originated.
Some of the pre-* events had previous exposed the event source using getSource() because they had not originally extended fromAbstractEvent
.