Package | Description |
---|---|
org.hibernate.action.internal |
Internals for action processing.
|
org.hibernate.cache.spi.entry |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.envers.internal.synchronization | |
org.hibernate.event.internal |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.event.spi | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.event.internal.core | |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.search.backend.impl | |
org.hibernate.search.event.impl |
Modifier and Type | Method and Description |
---|---|
protected EventSource |
EntityAction.eventSource() |
protected EventSource |
CollectionAction.eventSource() |
Modifier and Type | Method and Description |
---|---|
Object[] |
StandardCacheEntryImpl.assemble(Object instance,
Serializable id,
EntityPersister persister,
Interceptor interceptor,
EventSource session)
Assemble the previously disassembled state represented by this entry into the given entity instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
Cascade.cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
Object parent)
Cascade an action from the parent entity instance to all its children.
|
static void |
Cascade.cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
Object parent,
Object anything)
Cascade an action from the parent entity instance to all its children.
|
Modifier and Type | Method and Description |
---|---|
Iterator |
HQLQueryPlan.performIterate(QueryParameters queryParameters,
EventSource session)
Coordinates the efforts to perform an iterate across all the included query translators.
|
Modifier and Type | Method and Description |
---|---|
void |
CascadingAction.cascade(EventSource session,
Object child,
String entityName,
Object anything,
boolean isCascadeDeleteEnabled)
Cascade the action to the child object.
|
Iterator |
CascadingAction.getCascadableChildrenIterator(EventSource session,
CollectionType collectionType,
Object collection)
Given a collection, get an iterator of the children upon which the
current cascading action should be visited.
|
void |
CascadingActions.BaseCascadingAction.noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex) |
void |
CascadingAction.noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex)
Called (in the case of
CascadingAction.requiresNoCascadeChecking() returning true) to validate
that no cascade on the given property is considered a valid semantic. |
Modifier and Type | Method and Description |
---|---|
AuditProcess |
AuditProcessManager.get(EventSource session) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDeleteEventListener.cascadeAfterDelete(EventSource session,
EntityPersister persister,
Object entity,
Set transientEntities) |
protected void |
DefaultMergeEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior
|
protected void |
AbstractSaveEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Handles to calls needed to perform post-save cascades.
|
protected void |
DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session,
EntityPersister persister,
Object entity,
EntityEntry entityEntry,
Set transientEntities) |
protected void |
DefaultMergeEventListener.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior
|
protected void |
AbstractSaveEventListener.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Handles the calls needed to perform pre-save cascades for the given entity.
|
protected void |
DefaultMergeEventListener.cascadeOnMerge(EventSource source,
EntityPersister persister,
Object entity,
Map copyCache)
Perform any cascades needed as part of this copy event.
|
protected void |
DefaultDeleteEventListener.deleteEntity(EventSource session,
Object entity,
EntityEntry entityEntry,
boolean isCascadeDeleteEnabled,
boolean isOrphanRemovalBeforeUpdates,
EntityPersister persister,
Set transientEntities)
Perform the entity deletion.
|
protected void |
DefaultDeleteEventListener.deleteTransientEntity(EventSource session,
Object entity,
boolean cascadeDeleteEnabled,
EntityPersister persister,
Set transientEntities)
We encountered a delete request on a transient instance.
|
protected void |
DefaultEvictEventListener.doEvict(Object object,
EntityKey key,
EntityPersister persister,
EventSource session) |
void |
EntityCopyNotAllowedObserver.entityCopyDetected(Object managedEntity,
Object mergeEntity1,
Object mergeEntity2,
EventSource session) |
void |
EntityCopyAllowedObserver.entityCopyDetected(Object managedEntity,
Object mergeEntity1,
Object mergeEntity2,
EventSource session) |
void |
EntityCopyAllowedLoggedObserver.entityCopyDetected(Object managedEntity,
Object mergeEntity1,
Object mergeEntity2,
EventSource session) |
protected boolean |
DefaultDeleteEventListener.invokeDeleteLifecycle(EventSource session,
Object entity,
EntityPersister persister) |
protected boolean |
AbstractSaveEventListener.invokeSaveLifecycle(Object entity,
EntityPersister persister,
EventSource source) |
protected boolean |
DefaultSaveOrUpdateEventListener.invokeUpdateLifecycle(Object entity,
EntityPersister persister,
EventSource source) |
protected void |
AbstractFlushingEventListener.performExecutions(EventSource session)
Execute all SQL (and second-level cache updates) in a special order so that foreign-key constraints cannot
be violated:
Inserts, in the order they were performed
Updates
Deletion of collection elements
Insertion of collection elements
Deletes, in the order they were performed
|
protected Serializable |
AbstractSaveEventListener.performSave(Object entity,
Serializable id,
EntityPersister persister,
boolean useIdentityColumn,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess)
Prepares the save call by checking the session caches for a pre-existing
entity and performing any lifecycle callbacks.
|
protected Serializable |
AbstractSaveEventListener.performSaveOrReplicate(Object entity,
EntityKey key,
EntityPersister persister,
boolean useIdentityColumn,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess)
Performs all the actual work needed to save an entity (well to get the save moved to
the execution queue).
|
protected Serializable |
AbstractSaveEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess)
Prepares the save call using a newly generated id.
|
protected Serializable |
AbstractSaveEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source)
Prepares the save call using the given requested id.
|
void |
EntityCopyNotAllowedObserver.topLevelMergeComplete(EventSource session) |
void |
EntityCopyAllowedObserver.topLevelMergeComplete(EventSource session) |
void |
EntityCopyAllowedLoggedObserver.topLevelMergeComplete(EventSource session) |
protected void |
AbstractLockUpgradeEventListener.upgradeLock(Object object,
EntityEntry entry,
LockOptions lockOptions,
EventSource source)
Performs a pessimistic lock upgrade on a given entity, if needed.
|
protected boolean |
DefaultReplicateEventListener.visitCollectionsBeforeSave(Object entity,
Serializable id,
Object[] values,
Type[] types,
EventSource source) |
protected boolean |
AbstractSaveEventListener.visitCollectionsBeforeSave(Object entity,
Serializable id,
Object[] values,
Type[] types,
EventSource source) |
Constructor and Description |
---|
OnLockVisitor(EventSource session,
Serializable key,
Object owner) |
ProxyVisitor(EventSource session) |
ReattachVisitor(EventSource session,
Serializable ownerIdentifier,
Object owner) |
Modifier and Type | Method and Description |
---|---|
EventSource |
AbstractEvent.getSession()
Returns the session event source for this event.
|
EventSource |
AbstractPreDatabaseOperationEvent.getSource()
Deprecated.
Use
AbstractEvent.getSession() instead |
Modifier and Type | Method and Description |
---|---|
void |
EntityCopyObserver.entityCopyDetected(Object managedEntity,
Object mergeEntity1,
Object mergeEntity2,
EventSource session)
Called when more than one representation of the same persistent entity is being merged.
|
protected static String |
AbstractCollectionEvent.getAffectedOwnerEntityName(CollectionPersister collectionPersister,
Object affectedOwner,
EventSource source) |
protected static CollectionPersister |
AbstractCollectionEvent.getLoadedCollectionPersister(PersistentCollection collection,
EventSource source) |
protected static Serializable |
AbstractCollectionEvent.getLoadedOwnerIdOrNull(PersistentCollection collection,
EventSource source) |
protected static Object |
AbstractCollectionEvent.getLoadedOwnerOrNull(PersistentCollection collection,
EventSource source) |
protected static Serializable |
AbstractCollectionEvent.getOwnerIdOrNull(Object owner,
EventSource source) |
void |
EntityCopyObserver.topLevelMergeComplete(EventSource session)
Called when the top-level merge operation is complete.
|
Constructor and Description |
---|
AbstractCollectionEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source,
Object affectedOwner,
Serializable affectedOwnerId)
Constructs an AbstractCollectionEvent object.
|
AbstractEvent(EventSource source)
Constructs an event from the given event session.
|
AbstractPreDatabaseOperationEvent(EventSource source,
Object entity,
Serializable id,
EntityPersister persister)
Constructs an event containing the pertinent information.
|
AutoFlushEvent(Set querySpaces,
EventSource source) |
ClearEvent(EventSource source)
Constructs an event from the given event session.
|
DeleteEvent(Object object,
EventSource source)
Constructs a new DeleteEvent instance.
|
DeleteEvent(String entityName,
Object object,
boolean cascadeDeleteEnabled,
boolean orphanRemovalBeforeUpdates,
EventSource source) |
DeleteEvent(String entityName,
Object object,
boolean cascadeDeleteEnabled,
EventSource source) |
DeleteEvent(String entityName,
Object object,
EventSource source) |
DirtyCheckEvent(EventSource source) |
EvictEvent(Object object,
EventSource source) |
FlushEntityEvent(EventSource source,
Object entity,
EntityEntry entry) |
FlushEvent(EventSource source) |
InitializeCollectionEvent(PersistentCollection collection,
EventSource source) |
LoadEvent(Serializable entityId,
Object instanceToLoad,
EventSource source) |
LoadEvent(Serializable entityId,
String entityClassName,
boolean isAssociationFetch,
EventSource source) |
LoadEvent(Serializable entityId,
String entityClassName,
LockMode lockMode,
EventSource source) |
LoadEvent(Serializable entityId,
String entityClassName,
LockOptions lockOptions,
EventSource source) |
LockEvent(Object object,
LockMode lockMode,
EventSource source) |
LockEvent(Object object,
LockOptions lockOptions,
EventSource source) |
LockEvent(String entityName,
Object original,
LockMode lockMode,
EventSource source) |
LockEvent(String entityName,
Object original,
LockOptions lockOptions,
EventSource source) |
MergeEvent(Object object,
EventSource source) |
MergeEvent(String entityName,
Object original,
EventSource source) |
MergeEvent(String entityName,
Object original,
Serializable id,
EventSource source) |
PersistEvent(Object object,
EventSource source) |
PersistEvent(String entityName,
Object original,
EventSource source) |
PostCollectionRecreateEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source) |
PostCollectionRemoveEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source,
Object loadedOwner) |
PostCollectionUpdateEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source) |
PostDeleteEvent(Object entity,
Serializable id,
Object[] deletedState,
EntityPersister persister,
EventSource source) |
PostInsertEvent(Object entity,
Serializable id,
Object[] state,
EntityPersister persister,
EventSource source) |
PostLoadEvent(EventSource session) |
PostUpdateEvent(Object entity,
Serializable id,
Object[] state,
Object[] oldState,
int[] dirtyProperties,
EntityPersister persister,
EventSource source) |
PreCollectionRecreateEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source) |
PreCollectionRemoveEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source,
Object loadedOwner) |
PreCollectionUpdateEvent(CollectionPersister collectionPersister,
PersistentCollection collection,
EventSource source) |
PreDeleteEvent(Object entity,
Serializable id,
Object[] deletedState,
EntityPersister persister,
EventSource source)
Constructs an event containing the pertinent information.
|
PreInsertEvent(Object entity,
Serializable id,
Object[] state,
EntityPersister persister,
EventSource source)
Constructs an event containing the pertinent information.
|
PreLoadEvent(EventSource session) |
PreUpdateEvent(Object entity,
Serializable id,
Object[] state,
Object[] oldState,
EntityPersister persister,
EventSource source)
Constructs an event containing the pertinent information.
|
RefreshEvent(Object object,
EventSource source) |
RefreshEvent(Object object,
LockMode lockMode,
EventSource source) |
RefreshEvent(Object object,
LockOptions lockOptions,
EventSource source) |
RefreshEvent(String entityName,
Object object,
EventSource source) |
RefreshEvent(String entityName,
Object object,
LockOptions lockOptions,
EventSource source) |
ReplicateEvent(Object object,
ReplicationMode replicationMode,
EventSource source) |
ReplicateEvent(String entityName,
Object object,
ReplicationMode replicationMode,
EventSource source) |
ResolveNaturalIdEvent(Map<String,Object> naturalIdValues,
EntityPersister entityPersister,
EventSource source) |
ResolveNaturalIdEvent(Map<String,Object> naturalIdValues,
EntityPersister entityPersister,
LockOptions lockOptions,
EventSource source) |
SaveOrUpdateEvent(Object object,
EventSource source) |
SaveOrUpdateEvent(String entityName,
Object original,
EventSource source) |
SaveOrUpdateEvent(String entityName,
Object original,
Serializable id,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
Iterator |
QueryTranslatorImpl.iterate(QueryParameters queryParameters,
EventSource session)
Return the query results as an iterator
|
Modifier and Type | Method and Description |
---|---|
Iterator |
QueryTranslatorImpl.iterate(QueryParameters queryParameters,
EventSource session)
Return the query results as an iterator
|
Modifier and Type | Method and Description |
---|---|
Iterator |
QueryTranslator.iterate(QueryParameters queryParameters,
EventSource session)
Perform an iterate operation given the underlying query definition.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionImpl
Concrete implementation of a Session.
|
Constructor and Description |
---|
IteratorImpl(ResultSet rs,
PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
String[][] columnNames,
HolderInstantiator holderInstantiator) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
JpaDeleteEventListener.invokeDeleteLifecycle(EventSource session,
Object entity,
EntityPersister persister) |
protected Serializable |
JpaSaveOrUpdateEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
JpaSaveEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
JpaPersistEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
JpaMergeEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
JpaSaveOrUpdateEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
protected Serializable |
JpaSaveEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
protected Serializable |
JpaPersistEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
protected Serializable |
JpaMergeEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
Iterator |
QueryLoader.iterate(QueryParameters queryParameters,
EventSource session) |
Constructor and Description |
---|
EventSourceTransactionContext(EventSource eventSource) |
Modifier and Type | Method and Description |
---|---|
void |
FullTextIndexEventListener.addSynchronization(EventSource eventSource,
Synchronization synchronization)
Adds a synchronization to be performed in the onFlush method;
should only be used as workaround for the case a flush is happening
out of transaction.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.