Package org.hibernate.event.internal
This package defines a default set of event listeners that implement
the default behaviors of Hibernate session operations.
-
Class Summary Class Description AbstractFlushingEventListener A convenience base class for listeners whose functionality results in flushing.AbstractLockUpgradeEventListener A convenience base class for listeners that respond to requests to perform a pessimistic lock upgrade on an entity.AbstractReassociateEventListener A convenience base class for listeners that respond to requests to reassociate an entity to a session ( such as through lock() or update() ).AbstractSaveEventListener<C> A convenience base class for listeners responding to save events.AbstractVisitor Abstract superclass of algorithms that walk a tree of property values of an entity, and perform specific functionality for collections, components and associated entities.DefaultAutoFlushEventListener Defines the default flush event listeners used by hibernate for flushing session state in response to generated auto-flush events.DefaultDeleteEventListener Defines the default delete event listener used by hibernate for deleting entities from the datastore in response to generated delete events.DefaultDirtyCheckEventListener Defines the default dirty-check event listener used by hibernate for checking the session for dirtiness in response to generated dirty-check events.DefaultEvictEventListener Defines the default evict event listener used by hibernate for evicting entities in response to generated flush events.DefaultFlushEntityEventListener An event that occurs for each entity instance at flush timeDefaultFlushEventListener Defines the default flush event listeners used by hibernate for flushing session state in response to generated flush events.DefaultInitializeCollectionEventListener DefaultLoadEventListener Defines the default load event listeners used by hibernate for loading entities in response to generated load events.DefaultLockEventListener Defines the default lock event listeners used by hibernate to lock entities in response to generated lock events.DefaultMergeEventListener Defines the default copy event listener used by hibernate for copying entities in response to generated copy events.DefaultPersistEventListener Defines the default create event listener used by hibernate for creating transient entities in response to generated create events.DefaultPersistOnFlushEventListener When persist is used as the cascade action, persistOnFlush should be usedDefaultPostLoadEventListener We do two things here: CallLifecycle
interface if necessary Perform neededEntityEntry.getLockMode()
related processingDefaultPreLoadEventListener Called before injecting property values into a newly loaded entity instance.DefaultRefreshEventListener Defines the default refresh event listener used by hibernate for refreshing entities in response to generated refresh events.DefaultReplicateEventListener Deprecated. sinceSession.replicate(java.lang.Object, org.hibernate.ReplicationMode)
is deprecatedDefaultResolveNaturalIdEventListener Defines the default load event listeners used by hibernate for loading entities in response to generated load events.DefaultSaveEventListener Deprecated. sinceSession.save(java.lang.Object)
is deprecatedDefaultSaveOrUpdateEventListener Deprecated. sinceSession.saveOrUpdate(java.lang.Object)
is deprecatedDefaultUpdateEventListener Deprecated. sinceSession.update(java.lang.Object)
is deprecatedDirtyCollectionSearchVisitor Do we have a dirty collection here? If it's a new application-instantiated collection, return true.EmptyEventManager EntityCopyAllowedLoggedObserver AnEntityCopyObserver
implementation that allows multiple representations of the same persistent entity to be merged and provides logging of the entity copies that are detected.EntityCopyAllowedObserver AnEntityCopyObserver
implementation that allows multiple representations of the same persistent entity to be merged.EntityCopyNotAllowedObserver EntityCopyObserverFactoryInitiator Looks for the configuration property "hibernate.event.merge.entity_copy_observer" and registers the matchingEntityCopyObserverFactory
based on the configuration value.EventUtil EvictVisitor Evict any collections referenced by the object from the session cache.FlushVisitor Process collections reachable from an entity.OnLockVisitor When a transient entity is passed to lock(), we must inspect all its collections and 1.OnReplicateVisitor When an entity is passed to replicate(), and there is an existing row, we must inspect all its collections and 1.OnUpdateVisitor When an entity is passed to update(), we must inspect all its collections and 1.PostDeleteEventListenerStandardImpl The standard PostDeleteEventListener implementationPostInsertEventListenerStandardImpl PostUpdateEventListenerStandardImpl PostUpsertEventListenerStandardImpl This is just a stub, since we don't yet have a@PostUpsert
callbackProxyVisitor Reassociates uninitialized proxies with the sessionReattachVisitor Abstract superclass of visitors that reattach collections.WrapVisitor Wrap collections in a Hibernate collection wrapper. -
Enum Summary Enum Description EntityState