Uses of Interface
org.hibernate.event.spi.EventSource
-
Packages that use EventSource Package Description org.hibernate.cache.spi.entry org.hibernate.engine.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.event.spi org.hibernate.hql.spi org.hibernate.loader.hql -
-
Uses of EventSource in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry with parameters of type EventSource Modifier and Type Method Description java.lang.Object[]
StandardCacheEntryImpl. assemble(java.lang.Object instance, java.io.Serializable id, EntityPersister persister, Interceptor interceptor, EventSource session)
Assemble the previously disassembled state represented by this entry into the given entity instance. -
Uses of EventSource in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi with parameters of type EventSource Modifier and Type Method Description java.util.Iterator
HQLQueryPlan. performIterate(QueryParameters queryParameters, EventSource session)
Coordinates the efforts to perform an iterate across all the included query translators. -
Uses of EventSource in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi with parameters of type EventSource Modifier and Type Method Description void
CascadingAction. cascade(EventSource session, java.lang.Object child, java.lang.String entityName, java.lang.Object anything, boolean isCascadeDeleteEnabled)
Cascade the action to the child object.static java.util.Iterator
CascadingActions. getAllElementsIterator(EventSource session, CollectionType collectionType, java.lang.Object collection)
Given a collection, get an iterator of all its children, loading them from the database if necessary.java.util.Iterator
CascadingAction. getCascadableChildrenIterator(EventSource session, CollectionType collectionType, java.lang.Object collection)
Given a collection, get an iterator of the children upon which the current cascading action should be visited.void
CascadingAction. noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
Called (in the case ofCascadingAction.requiresNoCascadeChecking()
returning true) to validate that no cascade on the given property is considered a valid semantic.void
CascadingActions.BaseCascadingAction. noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
-
Uses of EventSource in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EventSource Modifier and Type Method Description EventSource
AbstractEvent. getSession()
Returns the session event source for this event.EventSource
AbstractPreDatabaseOperationEvent. getSource()
Deprecated.UseAbstractEvent.getSession()
insteadMethods in org.hibernate.event.spi with parameters of type EventSource Modifier and Type Method Description void
EntityCopyObserver. entityCopyDetected(java.lang.Object managedEntity, java.lang.Object mergeEntity1, java.lang.Object mergeEntity2, EventSource session)
Called when more than one representation of the same persistent entity is being merged.protected static java.lang.String
AbstractCollectionEvent. getAffectedOwnerEntityName(CollectionPersister collectionPersister, java.lang.Object affectedOwner, EventSource source)
protected static CollectionPersister
AbstractCollectionEvent. getLoadedCollectionPersister(PersistentCollection collection, EventSource source)
protected static java.io.Serializable
AbstractCollectionEvent. getLoadedOwnerIdOrNull(PersistentCollection collection, EventSource source)
protected static java.lang.Object
AbstractCollectionEvent. getLoadedOwnerOrNull(PersistentCollection collection, EventSource source)
protected static java.io.Serializable
AbstractCollectionEvent. getOwnerIdOrNull(java.lang.Object owner, EventSource source)
void
EntityCopyObserver. topLevelMergeComplete(EventSource session)
Called when the top-level merge operation is complete.Constructors in org.hibernate.event.spi with parameters of type EventSource Constructor Description AbstractCollectionEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, java.lang.Object affectedOwner, java.io.Serializable affectedOwnerId)
Constructs an AbstractCollectionEvent object.AbstractEvent(EventSource source)
Constructs an event from the given event session.AbstractPreDatabaseOperationEvent(EventSource source, java.lang.Object entity, java.io.Serializable id, EntityPersister persister)
Constructs an event containing the pertinent information.AutoFlushEvent(java.util.Set querySpaces, EventSource source)
ClearEvent(EventSource source)
Constructs an event from the given event session.DeleteEvent(java.lang.Object object, EventSource source)
Constructs a new DeleteEvent instance.DeleteEvent(java.lang.String entityName, java.lang.Object object, boolean cascadeDeleteEnabled, boolean orphanRemovalBeforeUpdates, EventSource source)
DeleteEvent(java.lang.String entityName, java.lang.Object object, boolean cascadeDeleteEnabled, EventSource source)
DeleteEvent(java.lang.String entityName, java.lang.Object object, EventSource source)
DirtyCheckEvent(EventSource source)
EvictEvent(java.lang.Object object, EventSource source)
FlushEntityEvent(EventSource source, java.lang.Object entity, EntityEntry entry)
FlushEvent(EventSource source)
InitializeCollectionEvent(PersistentCollection collection, EventSource source)
LoadEvent(java.io.Serializable entityId, java.lang.Object instanceToLoad, EventSource source, java.lang.Boolean readOnly)
LoadEvent(java.io.Serializable entityId, java.lang.String entityClassName, boolean isAssociationFetch, EventSource source, java.lang.Boolean readOnly)
LoadEvent(java.io.Serializable entityId, java.lang.String entityClassName, LockMode lockMode, EventSource source, java.lang.Boolean readOnly)
LoadEvent(java.io.Serializable entityId, java.lang.String entityClassName, LockOptions lockOptions, EventSource source, java.lang.Boolean readOnly)
LockEvent(java.lang.Object object, LockMode lockMode, EventSource source)
LockEvent(java.lang.Object object, LockOptions lockOptions, EventSource source)
LockEvent(java.lang.String entityName, java.lang.Object original, LockMode lockMode, EventSource source)
LockEvent(java.lang.String entityName, java.lang.Object original, LockOptions lockOptions, EventSource source)
MergeEvent(java.lang.Object object, EventSource source)
MergeEvent(java.lang.String entityName, java.lang.Object original, java.io.Serializable id, EventSource source)
MergeEvent(java.lang.String entityName, java.lang.Object original, EventSource source)
PersistEvent(java.lang.Object object, EventSource source)
PersistEvent(java.lang.String entityName, java.lang.Object original, EventSource source)
PostCollectionRecreateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
PostCollectionRemoveEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, java.lang.Object loadedOwner)
PostCollectionUpdateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
PostDeleteEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] deletedState, EntityPersister persister, EventSource source)
PostInsertEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, EntityPersister persister, EventSource source)
PostLoadEvent(EventSource session)
PostUpdateEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.Object[] oldState, int[] dirtyProperties, EntityPersister persister, EventSource source)
PreCollectionRecreateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
PreCollectionRemoveEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, java.lang.Object loadedOwner)
PreCollectionUpdateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
PreDeleteEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] deletedState, EntityPersister persister, EventSource source)
Constructs an event containing the pertinent information.PreInsertEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, EntityPersister persister, EventSource source)
Constructs an event containing the pertinent information.PreLoadEvent(EventSource session)
PreUpdateEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.Object[] oldState, EntityPersister persister, EventSource source)
Constructs an event containing the pertinent information.RefreshEvent(java.lang.Object object, EventSource source)
RefreshEvent(java.lang.Object object, LockMode lockMode, EventSource source)
RefreshEvent(java.lang.Object object, LockOptions lockOptions, EventSource source)
RefreshEvent(java.lang.String entityName, java.lang.Object object, EventSource source)
RefreshEvent(java.lang.String entityName, java.lang.Object object, LockOptions lockOptions, EventSource source)
ReplicateEvent(java.lang.Object object, ReplicationMode replicationMode, EventSource source)
ReplicateEvent(java.lang.String entityName, java.lang.Object object, ReplicationMode replicationMode, EventSource source)
ResolveNaturalIdEvent(java.util.Map<java.lang.String,java.lang.Object> naturalIdValues, EntityPersister entityPersister, EventSource source)
ResolveNaturalIdEvent(java.util.Map<java.lang.String,java.lang.Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)
SaveOrUpdateEvent(java.lang.Object object, EventSource source)
SaveOrUpdateEvent(java.lang.String entityName, java.lang.Object original, java.io.Serializable id, EventSource source)
SaveOrUpdateEvent(java.lang.String entityName, java.lang.Object original, EventSource source)
-
Uses of EventSource in org.hibernate.hql.spi
Methods in org.hibernate.hql.spi with parameters of type EventSource Modifier and Type Method Description java.util.Iterator
QueryTranslator. iterate(QueryParameters queryParameters, EventSource session)
Perform an iterate operation given the underlying query definition. -
Uses of EventSource in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql with parameters of type EventSource Modifier and Type Method Description java.util.Iterator
QueryLoader. iterate(QueryParameters queryParameters, EventSource session)
-