Package org.hibernate.event.spi
Class AbstractPostDatabaseOperationEvent
java.lang.Object
org.hibernate.event.spi.AbstractEvent
org.hibernate.event.spi.AbstractDatabaseOperationEvent
org.hibernate.event.spi.AbstractPostDatabaseOperationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PostDeleteEvent
,PostInsertEvent
,PostUpdateEvent
,PostUpsertEvent
Represents an operation successfully executed by the database.
- Since:
- 7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractPostDatabaseOperationEvent
(EventSource source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information. -
Method Summary
Methods inherited from class org.hibernate.event.spi.AbstractDatabaseOperationEvent
getEntity, getFactory, getId, getPersister
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getSession
-
Constructor Details
-
AbstractPostDatabaseOperationEvent
public AbstractPostDatabaseOperationEvent(EventSource source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information.- Parameters:
source
- The session from which the event originated.entity
- The entity to be involved in the database operation.id
- The entity id to be involved in the database operation.persister
- The entity's persister.
-