Class ToOneDelegateSessionImplementor
- java.lang.Object
-
- org.hibernate.engine.spi.SessionDelegatorBaseImpl
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.AbstractDelegateSessionImplementor
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.ToOneDelegateSessionImplementor
-
- All Implemented Interfaces:
EntityManager
,Closeable
,Serializable
,AutoCloseable
,LobCreationContext
,SessionImplementor
,SharedSessionContractImplementor
,QueryProducer
,QueryProducerImplementor
,JdbcSessionOwner
,TransactionCoordinatorBuilder.Options
,Session
,SharedSessionContract
,JavaType.CoercionContext
,WrapperOptions
public class ToOneDelegateSessionImplementor extends AbstractDelegateSessionImplementor
- 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 ToOneDelegateSessionImplementor(AuditReaderImplementor versionsReader, Class<?> entityClass, Object entityId, Number revision, boolean removed, EnversService enversService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
doImmediateLoad(String entityName)
-
Methods inherited from class org.hibernate.envers.internal.entities.mapper.relation.lazy.AbstractDelegateSessionImplementor
immediateLoad
-
Methods inherited from class org.hibernate.engine.spi.SessionDelegatorBaseImpl
accessTransaction, addEventListeners, afterOperation, afterScrollOperation, afterTransactionBegin, afterTransactionCompletion, asEventSource, autoFlushIfRequired, autoFlushIfRequired, autoPreFlush, 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, 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, getEventManager, getExceptionConverter, getFactory, getFetchBatchSize, getFlushMode, getHibernateFlushMode, getIdentifier, getInterceptor, getJdbcBatchSize, getJdbcConnectionAccess, getJdbcCoordinator, getJdbcServices, getJdbcSessionContext, getJdbcTimeZone, getLoadQueryInfluencers, getLobCreator, getLobHelper, getLockMode, getMetamodel, getNamedNativeQuery, getNamedNativeQuery, getNamedProcedureCall, getNamedQuery, getNativeJdbcParametersIgnored, getPersistenceContext, getPersistenceContextInternal, getPreferredSqlTypeCodeForBoolean, getProperties, getReference, getReference, getReference, getSession, getSessionFactory, getSessionIdentifier, getStatistics, getTenantIdentifier, getTenantIdentifierValue, 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, setNativeJdbcParametersIgnored, 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, getEventManager, getJdbcBatchSize, getJdbcConnectionAccess, getJdbcSessionContext, getSqlExceptionHelper, getTransactionCoordinator, startTransactionBoundary
-
Methods inherited from interface org.hibernate.engine.jdbc.LobCreationContext
execute, fromContext
-
Methods inherited from interface org.hibernate.query.QueryProducer
createMutationQuery, 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, getTenantIdentifierValue, getTransaction, isConnected, isJoinedToTransaction, isOpen, joinTransaction, setJdbcBatchSize
-
Methods inherited from interface org.hibernate.engine.spi.SharedSessionContractImplementor
accessTransaction, afterOperation, afterScrollOperation, asEventSource, asStatelessSession, autoFlushIfRequired, autoFlushIfRequired, autoPreFlush, bestGuessEntityName, bestGuessEntityName, checkOpen, checkOpen, checkTransactionNeededForUpdateOperation, flush, generateEntityKey, getCacheMode, getCacheTransactionSynchronization, getConfiguredJdbcBatchSize, getContextEntityIdentifier, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getExceptionConverter, getFactory, getFlushMode, getHibernateFlushMode, getInterceptor, getJdbcCoordinator, getJdbcServices, getLoadQueryInfluencers, getNativeJdbcParametersIgnored, 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, setNativeJdbcParametersIgnored, shouldAutoClose
-
Methods inherited from interface org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder.Options
shouldAutoJoinTransaction
-
Methods inherited from interface org.hibernate.type.descriptor.WrapperOptions
getDialect, getJdbcTimeZone, getLobCreator, getPreferredSqlTypeCodeForBoolean, useStreamForLobBinding
-
-
-
-
Constructor Detail
-
ToOneDelegateSessionImplementor
public ToOneDelegateSessionImplementor(AuditReaderImplementor versionsReader, Class<?> entityClass, Object entityId, Number revision, boolean removed, EnversService enversService)
-
-
Method Detail
-
doImmediateLoad
public Object doImmediateLoad(String entityName) throws HibernateException
- Specified by:
doImmediateLoad
in classAbstractDelegateSessionImplementor
- Throws:
HibernateException
-
-