Package org.hibernate.event.spi
Class AbstractDatabaseOperationEvent
java.lang.Object
org.hibernate.event.spi.AbstractEvent
org.hibernate.event.spi.AbstractDatabaseOperationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractPostDatabaseOperationEvent
,AbstractPreDatabaseOperationEvent
Base for events which denote database operations.
- Since:
- 7
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.event.spi.AbstractEvent
source
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractDatabaseOperationEvent
(SharedSessionContractImplementor source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the entity involved in the database operation.getId()
The id to be used in the database operation.The persister for the entity.Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
Constructor Details
-
Method Details
-
getEntity
Retrieves the entity involved in the database operation. -
getId
The id to be used in the database operation. -
getPersister
The persister for the entity.
-