Class AbstractDelegateSessionImplementor
- java.lang.Object
-
- org.hibernate.engine.spi.SessionDelegatorBaseImpl
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.AbstractDelegateSessionImplementor
-
- All Implemented Interfaces:
EntityManager
,Closeable
,Serializable
,AutoCloseable
,LobCreationContext
,SessionImplementor
,SharedSessionContractImplementor
,QueryProducer
,QueryProducerImplementor
,JdbcSessionOwner
,TransactionCoordinatorBuilder.Options
,Session
,SharedSessionContract
,JavaType.CoercionContext
,WrapperOptions
- Direct Known Subclasses:
ToOneDelegateSessionImplementor
public abstract class AbstractDelegateSessionImplementor extends SessionDelegatorBaseImpl implements SessionImplementor
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.engine.jdbc.LobCreationContext
LobCreationContext.Callback<T>
-
Nested classes/interfaces inherited from interface org.hibernate.Session
Session.LockRequest
-
-
Field Summary
-
Fields inherited from class org.hibernate.engine.spi.SessionDelegatorBaseImpl
delegate
-
-
Constructor Summary
Constructors Constructor Description AbstractDelegateSessionImplementor(SessionImplementor delegate)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Object
doImmediateLoad(String entityName)
Object
immediateLoad(String entityName, Object id)
Load an instance immediately.-
Methods inherited from class org.hibernate.engine.spi.SessionDelegatorBaseImpl
accessTransaction, addEventListeners, afterOperation, afterScrollOperation, afterTransactionBegin, afterTransactionCompletion, asEventSource, autoFlushIfRequired, beforeTransactionCompletion, beginTransaction, bestGuessEntityName, buildLockRequest, byId, byId, byMultipleIds, byMultipleIds, byMultipleNaturalId, byMultipleNaturalId, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, checkOpen, checkOpen, checkTransactionNeededForUpdateOperation, clear, close, contains, contains, createEntityGraph, createEntityGraph, createEntityGraph, createMutationQuery, createMutationQuery, createMutationQuery, createMutationQuery, createNamedMutationQuery, createNamedQuery, createNamedQuery, createNamedSelectionQuery, createNamedSelectionQuery, createNamedStoredProcedureQuery, createNativeMutationQuery, createNativeQuery, createNativeQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, createQuery, createQuery, createSelectionQuery, createSelectionQuery, createSelectionQuery, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, delegate, delete, delete, delete, detach, disableFetchProfile, disableFilter, doReturningWork, doWork, enableFetchProfile, enableFilter, evict, execute, find, find, find, find, flush, flushBeforeTransactionCompletion, forceFlush, forceFlush, generateEntityKey, get, get, get, get, get, get, getActionQueue, getCacheMode, getCacheRetrieveMode, getCacheStoreMode, getCacheTransactionSynchronization, getContextEntityIdentifier, getCriteriaBuilder, getCurrentLockMode, getDelegate, getEnabledFilter, getEntityGraph, getEntityGraphs, getEntityManagerFactory, getEntityName, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getExceptionConverter, getFactory, getFetchBatchSize, getFlushMode, getHibernateFlushMode, getIdentifier, getInterceptor, getJdbcBatchSize, getJdbcConnectionAccess, getJdbcCoordinator, getJdbcServices, getJdbcSessionContext, getJdbcTimeZone, getLoadQueryInfluencers, getLobCreator, getLobHelper, getLockMode, getMetamodel, getNamedNativeQuery, getNamedNativeQuery, getNamedProcedureCall, getNamedQuery, getPersistenceContext, getPersistenceContextInternal, getPreferredSqlTypeCodeForBoolean, getProperties, getReference, getReference, getReference, getSession, getSessionFactory, getSessionIdentifier, getStatistics, getTenantIdentifier, getTransaction, getTransactionCoordinator, guessEntityName, initializeCollection, instantiate, instantiate, internalLoad, isAutoCloseSessionEnabled, isClosed, isConnected, isCriteriaCopyTreeEnabled, isDefaultReadOnly, isDirty, isEventSource, isFetchProfileEnabled, isJoinedToTransaction, isOpen, isOpenOrWaitingForAutoClose, isReadOnly, isSubselectFetchingEnabled, isTransactionInProgress, joinTransaction, load, load, load, load, load, load, load, lock, lock, lock, lock, lock, lock, markForRollbackOnly, merge, merge, merge, persist, persist, persist, persistOnFlush, prepareForQueryExecution, refresh, refresh, refresh, refresh, refresh, refresh, refresh, refresh, refresh, remove, removeOrphanBeforeUpdates, replicate, replicate, save, save, saveOrUpdate, saveOrUpdate, sessionWithOptions, setAutoClear, setCacheMode, setCacheRetrieveMode, setCacheStoreMode, setCriteriaCopyTreeEnabled, setDefaultReadOnly, setFetchBatchSize, setFlushMode, setHibernateFlushMode, setJdbcBatchSize, setProperty, setReadOnly, setSubselectFetchingEnabled, shouldAutoClose, shouldAutoJoinTransaction, startTransactionBoundary, unwrap, update, update, useStreamForLobBinding
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.EntityManager
close, contains, createNamedStoredProcedureQuery, createNativeQuery, createNativeQuery, createNativeQuery, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, find, find, find, find, getCriteriaBuilder, getDelegate, getEntityManagerFactory, getLockMode, getMetamodel, getProperties, getTransaction, isJoinedToTransaction, isOpen, joinTransaction, lock, lock, refresh, refresh, refresh, setProperty, unwrap
-
Methods inherited from interface org.hibernate.resource.jdbc.spi.JdbcSessionOwner
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, flushBeforeTransactionCompletion, getJdbcBatchSize, getJdbcConnectionAccess, getJdbcSessionContext, getTransactionCoordinator, startTransactionBoundary
-
Methods inherited from interface org.hibernate.engine.jdbc.LobCreationContext
execute, fromContext
-
Methods inherited from interface org.hibernate.query.QueryProducer
createMutationQuery, createNamedSelectionQuery, createNamedSelectionQuery, createSelectionQuery, createSelectionQuery, createSelectionQuery
-
Methods inherited from interface org.hibernate.query.spi.QueryProducerImplementor
createMutationQuery, createMutationQuery, createMutationQuery, createNamedMutationQuery, createNamedQuery, createNamedQuery, createNativeMutationQuery, createNativeQuery, createNativeQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, createQuery, createQuery, getNamedNativeQuery, getNamedNativeQuery, getNamedQuery
-
Methods inherited from interface org.hibernate.Session
addEventListeners, buildLockRequest, byId, byId, byMultipleIds, byMultipleIds, byMultipleNaturalId, byMultipleNaturalId, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, clear, contains, createNamedQuery, createNamedQuery, createQuery, createQuery, createQuery, createQuery, createQuery, delete, delete, detach, disableFetchProfile, disableFilter, enableFetchProfile, enableFilter, evict, flush, get, get, get, get, get, get, getCacheMode, getCacheRetrieveMode, getCacheStoreMode, getCurrentLockMode, getEnabledFilter, getEntityGraphs, getEntityName, getFetchBatchSize, getFlushMode, getHibernateFlushMode, getIdentifier, getLobHelper, getReference, getReference, getReference, getStatistics, isDefaultReadOnly, isDirty, isFetchProfileEnabled, isReadOnly, isSubselectFetchingEnabled, load, load, load, load, load, load, load, lock, lock, lock, merge, merge, persist, persist, refresh, refresh, refresh, refresh, refresh, remove, replicate, replicate, save, save, saveOrUpdate, saveOrUpdate, sessionWithOptions, setCacheMode, setCacheRetrieveMode, setCacheStoreMode, setDefaultReadOnly, setFetchBatchSize, setFlushMode, setHibernateFlushMode, setReadOnly, setSubselectFetchingEnabled, update, update
-
Methods inherited from interface org.hibernate.engine.spi.SessionImplementor
asSessionImplementor, createEntityGraph, createEntityGraph, delete, forceFlush, forceFlush, getActionQueue, getEntityGraph, getSession, getSessionFactory, instantiate, isSessionImplementor, lock, merge, persist, persistOnFlush, refresh, removeOrphanBeforeUpdates
-
Methods inherited from interface org.hibernate.SharedSessionContract
beginTransaction, close, createEntityGraph, createNamedStoredProcedureQuery, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, doReturningWork, doWork, getCriteriaBuilder, getJdbcBatchSize, getNamedProcedureCall, getTenantIdentifier, getTransaction, isConnected, isJoinedToTransaction, isOpen, joinTransaction, setJdbcBatchSize
-
Methods inherited from interface org.hibernate.engine.spi.SharedSessionContractImplementor
accessTransaction, afterOperation, afterScrollOperation, asEventSource, asStatelessSession, autoFlushIfRequired, bestGuessEntityName, bestGuessEntityName, checkOpen, checkOpen, checkTransactionNeededForUpdateOperation, flush, generateEntityKey, getCacheMode, getCacheTransactionSynchronization, getConfiguredJdbcBatchSize, getContextEntityIdentifier, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getExceptionConverter, getFactory, getFlushMode, getHibernateFlushMode, getInterceptor, getJdbcCoordinator, getJdbcServices, getLoadQueryInfluencers, getPersistenceContext, getPersistenceContextInternal, getSessionIdentifier, getSessionToken, getTypeConfiguration, guessEntityName, initializeCollection, instantiate, internalLoad, isAutoCloseSessionEnabled, isClosed, isCriteriaCopyTreeEnabled, isDefaultReadOnly, isEnforcingFetchGraph, isEventSource, isOpenOrWaitingForAutoClose, isStatelessSession, isTransactionInProgress, markForRollbackOnly, prepareForQueryExecution, setAutoClear, setCacheMode, setCriteriaCopyTreeEnabled, setEnforcingFetchGraph, setHibernateFlushMode, shouldAutoClose
-
Methods inherited from interface org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder.Options
shouldAutoJoinTransaction
-
Methods inherited from interface org.hibernate.type.descriptor.WrapperOptions
getJdbcTimeZone, getLobCreator, getPreferredSqlTypeCodeForBoolean, useStreamForLobBinding
-
-
-
-
Constructor Detail
-
AbstractDelegateSessionImplementor
public AbstractDelegateSessionImplementor(SessionImplementor delegate)
-
-
Method Detail
-
immediateLoad
public Object immediateLoad(String entityName, Object id) throws HibernateException
Description copied from interface:SharedSessionContractImplementor
Load an instance immediately. This method is only called when lazily initializing a proxy. Do not return the proxy.- Specified by:
immediateLoad
in interfaceSharedSessionContractImplementor
- Overrides:
immediateLoad
in classSessionDelegatorBaseImpl
- Throws:
HibernateException
-
-