Package org.hibernate.event
package org.hibernate.event
This package defines an event framework for Hibernate.
-
ClassDescriptionDefines a base class for events involving collections.Defines a base class for Session generated events.Represents an operation we are about to perform against the database.Defines an event class for the auto-flushing of a session.Defines the contract for handling of session auto-flush events.Defines an event class for the deletion of an entity.Defines the contract for handling of deletion events generated from a session.Contract for listeners which require notification of SessionFactory closing, presumably to destroy internal state.Defines an event class for the dirty-checking of a session.Defines the contract for handling of session dirty-check events.A convience holder for all defined session event listeners.Defines an event class for the evicting of an entity.Defines the contract for handling of evict events generated from a session.Defines an event class for the flushing of a session.Defines the contract for handling of session flush events.An event listener that requires access to mappings to initialize state at initialization time.An event that occurs when a collection wants to be initializedDefines the contract for handling of collection initialization events generated by a session.Defines an event class for the loading of an entity.Defines the contract for handling of load events generated from a session.Defines an event class for the locking of an entity.Defines the contract for handling of lock events generated from a session.An event class for merge() and saveOrUpdateCopy()Defines the contract for handling of merge events generated from a session.An event class for persist()Defines the contract for handling of create events generated from a session.An event that occurs after a collection is recreatedCalled after recreating a collectionAn event that occurs after a collection is removedCalled after removing a collectionAn event that occurs after a collection is updatedCalled after updating a collectionOccurs after deleting an item from the datastoreCalled after deleting an item from the datastoreOccurs after inserting an item in the datastoreCalled after insterting an item in the datastoreOccurs after an an entity instance is fully loaded.Occurs after an an entity instance is fully loaded.Occurs after the datastore is updatedCalled after updating the datastoreAn event that occurs before a collection is recreatedCalled before recreating a collectionAn event that occurs before a collection is removedCalled before removing a collectionAn event that occurs before a collection is updatedCalled before updating a collectionRepresents a pre-delete event, which occurs just prior to performing the deletion of an entity from the database.Called before deleting an item from the datastoreRepresents a pre-insert event, which occurs just prior to performing the insert of an entity into the database.Called before inserting an item in the datastoreCalled before injecting property values into a newly loaded entity instance.Called before injecting property values into a newly loaded entity instance.Represents a pre-update event, which occurs just prior to performing the update of an entity in the database.Called before updating the datastoreDefines an event class for the refreshing of an object.Defines the contract for handling of refresh events generated from a session.Defines an event class for the replication of an entity.Defines the contract for handling of replicate events generated from a session.An event class for saveOrUpdate()Defines the contract for handling of update events generated from a session.