Class AbstractPreDatabaseOperationEvent

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PreDeleteEvent, PreInsertEvent, PreUpdateEvent, PreUpsertEvent

public abstract class AbstractPreDatabaseOperationEvent extends AbstractDatabaseOperationEvent
Represents an operation that is about to be executed by the database.
See Also:
  • Constructor Details

    • AbstractPreDatabaseOperationEvent

      public AbstractPreDatabaseOperationEvent(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.