Modifier and Type | Method and Description |
---|---|
static LobCreator |
Hibernate.getLobCreator(SessionImplementor session)
Obtain a lob creator for the given session.
|
Modifier and Type | Method and Description |
---|---|
static UnresolvedEntityInsertActions |
UnresolvedEntityInsertActions.deserialize(ObjectInputStream ois,
SessionImplementor session)
Deerialize a
UnresolvedEntityInsertActions object. |
void |
EntityVerifyVersionProcess.doBeforeTransactionCompletion(SessionImplementor session) |
void |
EntityIncrementVersionProcess.doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
Set<AbstractEntityInsertAction> |
UnresolvedEntityInsertActions.resolveDependentActions(Object managedEntity,
SessionImplementor session)
Resolve any dependencies on
managedEntity . |
Constructor and Description |
---|
EntityDeleteAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session)
Constructs an EntityDeleteAction.
|
OrphanRemovalAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
BeforeTransactionCompletionProcess.doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
Modifier and Type | Method and Description |
---|---|
static void |
AbstractPersistentCollection.identityRemove(Collection list,
Object entityInstance,
String entityName,
SessionImplementor session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
ParameterBinder.bindQueryParameters(PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
Perform parameter binding
|
static StatefulPersistenceContext |
StatefulPersistenceContext.deserialize(ObjectInputStream ois,
SessionImplementor session)
Used by the owning session to explicitly control deserialization of the persistence context.
|
static void |
Collections.processReachableCollection(PersistentCollection collection,
CollectionType type,
Object entity,
SessionImplementor session)
Initialize the role of the collection.
|
static void |
Collections.processUnreachableCollection(PersistentCollection coll,
SessionImplementor session)
record the fact that this collection was dereferenced
|
Modifier and Type | Class and Description |
---|---|
class |
SessionDelegatorBaseImpl
This class is meant to be extended.
|
Modifier and Type | Field and Description |
---|---|
protected SessionImplementor |
SessionDelegatorBaseImpl.delegate |
Modifier and Type | Method and Description |
---|---|
protected SessionImplementor |
SessionDelegatorBaseImpl.delegate()
Returns the underlying delegate.
|
SessionImplementor |
SessionDelegatorBaseImpl.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
ExecutableList.afterDeserialize(SessionImplementor session)
Allow the Executables to re-associate themselves with the Session after deserialization.
|
static EntityUniqueKey |
EntityUniqueKey.deserialize(ObjectInputStream ois,
SessionImplementor session)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static CollectionKey |
CollectionKey.deserialize(ObjectInputStream ois,
SessionImplementor session)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static CollectionEntry |
CollectionEntry.deserialize(ObjectInputStream ois,
SessionImplementor session)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static ActionQueue |
ActionQueue.deserialize(ObjectInputStream ois,
SessionImplementor session)
Used by the owning session to explicitly control deserialization of the action queue.
|
Constructor and Description |
---|
ActionQueue(SessionImplementor session)
Constructs an action queue bound to the given session.
|
SessionDelegatorBaseImpl(SessionImplementor delegate) |
SessionDelegatorBaseImpl(SessionImplementor delegate,
Session session)
Deprecated.
(since 5.3) SessionDelegatorBaseImpl should take just one argument, the SessionImplementor.
Use the
SessionDelegatorBaseImpl.SessionDelegatorBaseImpl(SessionImplementor) form instead |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseEnversEventListener.checkIfTransactionInProgress(SessionImplementor session) |
protected void |
BaseEnversEventListener.generateBidirectionalCollectionChangeWorkUnits(AuditProcess auditProcess,
EntityPersister entityPersister,
String entityName,
Object[] newState,
Object[] oldState,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
boolean |
SubclassPropertyMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
boolean |
MultiPropertyMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
boolean |
MultiDynamicComponentMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
boolean |
ExtendedPropertyMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
List<PersistentCollectionChangeData> |
SubclassPropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
SinglePropertyMapper.mapCollectionChanges(SessionImplementor sessionImplementor,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
PropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id)
Maps collection changes.
|
List<PersistentCollectionChangeData> |
MultiPropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
ComponentPropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
void |
SubclassPropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
SinglePropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
PropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
MultiPropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
MultiDynamicComponentMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
ComponentPropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
SubclassPropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
SinglePropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
PropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj)
Maps properties to the given map, basing on differences between properties of new and old objects.
|
boolean |
MultiPropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
MultiDynamicComponentMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
ComponentPropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
Modifier and Type | Method and Description |
---|---|
void |
MiddleStraightComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleSimpleComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleRelatedComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleMapKeyPropertyComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleMapKeyIdComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleMapElementNotKeyComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleEmbeddableComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleDummyComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj)
Maps from an object to the object's map representation (for an entity - only its id).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegateSessionImplementor |
class |
ToOneDelegateSessionImplementor |
Constructor and Description |
---|
AbstractDelegateSessionImplementor(SessionImplementor delegate) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
AuditReaderImplementor.getSessionImplementor() |
SessionImplementor |
AuditReaderImpl.getSessionImplementor() |
Constructor and Description |
---|
AuditReaderImpl(EnversService enversService,
Session session,
SessionImplementor sessionImplementor) |
Modifier and Type | Method and Description |
---|---|
void |
AuditProcess.doBeforeTransactionCompletion(SessionImplementor session) |
Constructor and Description |
---|
AuditProcess(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor session) |
EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor sessionImplementor) |
Modifier and Type | Field and Description |
---|---|
protected SessionImplementor |
AbstractAuditWorkUnit.sessionImplementor |
Modifier and Type | Method and Description |
---|---|
static boolean |
EntityTools.entitiesEqual(SessionImplementor session,
String entityName,
Object obj1,
Object obj2) |
static Class |
EntityTools.getEntityClass(SessionImplementor sessionImplementor,
String entityName) |
static Object |
EntityTools.getIdentifier(SessionImplementor session,
String entityName,
Object obj) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultFlushEntityEventListener.checkId(Object object,
EntityPersister persister,
Serializable id,
SessionImplementor session)
make sure user didn't mangle the id
|
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache) |
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
protected AbstractSaveEventListener.EntityState |
AbstractSaveEventListener.getEntityState(Object entity,
String entityName,
EntityEntry entry,
SessionImplementor source)
Determine whether the entity is persistent, detached, or transient
|
protected Serializable |
DefaultUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
SessionImplementor session)
If the user specified an id, assign it to the instance and use that,
otherwise use the id already assigned to the instance
|
protected Serializable |
DefaultSaveOrUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
SessionImplementor session)
Determine the id to use for updating.
|
protected boolean |
DefaultFlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
protected void |
AbstractFlushingEventListener.postFlush(SessionImplementor session)
1.
|
protected void |
AbstractFlushingEventListener.postPostFlush(SessionImplementor session) |
protected boolean |
DefaultSaveOrUpdateEventListener.reassociateIfUninitializedProxy(Object object,
SessionImplementor source) |
protected boolean |
DefaultSaveEventListener.reassociateIfUninitializedProxy(Object object,
SessionImplementor source) |
protected boolean |
DefaultReplicateEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source) |
protected boolean |
AbstractSaveEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source)
Perform any property value substitution that is necessary
(interceptor callback, version initialization...)
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventSource |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionImpl
Functionality common to stateless and stateful sessions
|
class |
SessionImpl
Concrete implementation of a Session.
|
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
SessionImpl.getSession() |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
ExceptionMapperStandardImpl.mapManagedFlushFailure(String message,
RuntimeException failure,
SessionImplementor session) |
RuntimeException |
ExceptionMapperStandardImpl.mapStatusCheckFailure(String message,
SystemException systemException,
SessionImplementor sessionImplementor) |
boolean |
SessionImpl.ManagedFlushCheckerStandardImpl.shouldDoManagedFlush(SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
AfterCompletionActionLegacyJpaImpl.doAction(boolean successful,
SessionImplementor session) |
RuntimeException |
ExceptionMapperLegacyJpaImpl.mapManagedFlushFailure(String message,
RuntimeException failure,
SessionImplementor session) |
RuntimeException |
ExceptionMapperLegacyJpaImpl.mapStatusCheckFailure(String message,
SystemException systemException,
SessionImplementor session) |
boolean |
ManagedFlushCheckerLegacyJpaImpl.shouldDoManagedFlush(SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
HibernateEntityManagerImplementor.getSession()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
ScrollableResultSetProcessor.extractLogicalRowForward(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters)
Given a scrollable ResultSet, extract a logical row.
|
Object |
ScrollableResultSetProcessor.extractLogicalRowReverse(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
boolean isLogicallyAfterLast)
Like
ScrollableResultSetProcessor.extractLogicalRowForward(java.sql.ResultSet, org.hibernate.engine.spi.SessionImplementor, org.hibernate.engine.spi.QueryParameters) but here moving through the ResultSet in reverse. |
Object |
ScrollableResultSetProcessor.extractSingleRow(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters)
Give a ResultSet, extract just a single result row.
|
Modifier and Type | Method and Description |
---|---|
default Serializable |
ClassMetadata.getIdentifier(Object entity,
SessionImplementor session)
Deprecated.
|
default Object[] |
ClassMetadata.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SessionImplementor session)
Deprecated.
(since 5.3) Use the form accepting SharedSessionContractImplementor
instead
|
default Object |
ClassMetadata.instantiate(Serializable id,
SessionImplementor session)
Deprecated.
(since 5.3) Use the form accepting SharedSessionContractImplementor
instead
|
default void |
ClassMetadata.setIdentifier(Object entity,
Serializable id,
SessionImplementor session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default ProcedureCall |
ProcedureCallMemento.makeProcedureCall(SessionImplementor session)
Convert the memento back into an executable (connected) form.
|
Modifier and Type | Method and Description |
---|---|
QueryImplementor |
CriteriaInterpretation.buildCompiledQuery(SessionImplementor entityManager,
InterpretedParameterMetadata interpretedParameterMetadata)
Generate a
Query instance given the interpreted criteria compiled against the
passed EntityManager. |
Constructor and Description |
---|
CriteriaCompiler(SessionImplementor entityManager) |
CriteriaQueryTypeQueryAdapter(SessionImplementor entityManager,
QueryImplementor<X> jpqlQuery,
Map<ParameterExpression<?>,ExplicitParameterInfo<?>> explicitParameterInfoMap) |
Modifier and Type | Method and Description |
---|---|
void |
AfterCompletionAction.doAction(boolean successful,
SessionImplementor session)
Deprecated.
|
RuntimeException |
ExceptionMapper.mapManagedFlushFailure(String message,
RuntimeException failure,
SessionImplementor session)
Map an exception encountered during a managed flush to the appropriate runtime-based exception.
|
RuntimeException |
ExceptionMapper.mapStatusCheckFailure(String message,
SystemException systemException,
SessionImplementor sessionImplementor)
Map a JTA
SystemException to the appropriate runtime-based exception. |
boolean |
ManagedFlushChecker.shouldDoManagedFlush(SessionImplementor session)
Deprecated.
Check whether we should perform the managed flush
|
Modifier and Type | Method and Description |
---|---|
static org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator |
ContextHelper.getSearchIntegratorBySessionImplementor(SessionImplementor session) |
Constructor and Description |
---|
HibernateSessionLoadingInitializer(SessionImplementor hibernateSession) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
ObjectInitializationContext.getSession() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ObjectLoaderHelper.areDocIdAndEntityIdIdentical(org.hibernate.search.query.engine.spi.EntityInfo entityInfo,
SessionImplementor session) |
void |
AbstractLoader.init(SessionImplementor session,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator) |
void |
QueryLoader.init(SessionImplementor session,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
ObjectInitializer objectInitializer,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager) |
void |
ProjectionLoader.init(SessionImplementor session,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
ObjectInitializer objectInitializer,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager) |
void |
MultiClassesQueryLoader.init(SessionImplementor session,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
ObjectInitializer objectInitializer,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager) |
void |
Loader.init(SessionImplementor session,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
ObjectInitializer objectInitializer,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager) |
void |
ProjectionLoader.init(SessionImplementor session,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
ResultTransformer transformer,
ObjectLoaderBuilder loaderBuilder,
String[] aliases,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager,
boolean projectThis) |
static Object |
ObjectLoaderHelper.load(org.hibernate.search.query.engine.spi.EntityInfo entityInfo,
SessionImplementor session) |
ObjectLoaderBuilder |
ObjectLoaderBuilder.session(SessionImplementor session) |
Constructor and Description |
---|
FullTextQueryImpl(org.hibernate.search.query.engine.spi.HSQuery hSearchQuery,
SessionImplementor session,
ParameterMetadata parameterMetadata)
Constructs a
FullTextQueryImpl instance. |
ObjectInitializationContext(Criteria criteria,
Class<?> targetedEntityType,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager,
SessionImplementor session) |
ScrollableResultsImpl(int fetchSize,
org.hibernate.search.query.engine.spi.DocumentExtractor extractor,
Loader loader,
SessionImplementor sessionImplementor,
boolean hasThisProjection) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJaccSecurableEventListener.performSecurityCheck(SessionImplementor session,
PermissionCheckEntityInformation entityInformation,
PermissibleAction action) |
Constructor and Description |
---|
SessionStatisticsImpl(SessionImplementor session) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.