Package | Description |
---|---|
org.hibernate.action.internal | |
org.hibernate.cache.spi.entry |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.ejb.event | |
org.hibernate.engine.internal | |
org.hibernate.engine.query.spi | |
org.hibernate.engine.spi | |
org.hibernate.envers.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.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) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EJB3DeleteEventListener.invokeDeleteLifecycle(EventSource session,
Object entity,
EntityPersister persister) |
protected Serializable |
EJB3SaveOrUpdateEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
EJB3SaveEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
EJB3PersistEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
EJB3MergeEventListener.saveWithGeneratedId(Object entity,
String entityName,
Object anything,
EventSource source,
boolean requiresImmediateIdAccess) |
protected Serializable |
EJB3SaveOrUpdateEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
protected Serializable |
EJB3SaveEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
protected Serializable |
EJB3PersistEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
protected Serializable |
EJB3MergeEventListener.saveWithRequestedId(Object entity,
Serializable requestedId,
String entityName,
Object anything,
EventSource source) |
Constructor and Description |
---|
Cascade(CascadingAction action,
int cascadeTo,
EventSource eventSource) |
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 |
---|---|
abstract void |
CascadingAction.cascade(EventSource session,
Object child,
String entityName,
Object anything,
boolean isCascadeDeleteEnabled)
Cascade the action to the child object.
|
abstract 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 |
CascadingAction.noCascade(EventSource session,
Object child,
Object parent,
EntityPersister persister,
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.
|
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 |
---|---|
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 © 2018 JBoss by Red Hat. All rights reserved.