Class AbstractDelegateSessionImplementor

java.lang.Object
org.hibernate.engine.spi.SessionDelegatorBaseImpl
org.hibernate.envers.internal.entities.mapper.relation.lazy.AbstractDelegateSessionImplementor
All Implemented Interfaces:
EntityManager, Serializable, AutoCloseable, org.hibernate.engine.jdbc.LobCreationContext, org.hibernate.engine.spi.SessionImplementor, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.query.QueryProducer, org.hibernate.query.spi.QueryProducerImplementor, org.hibernate.resource.jdbc.spi.JdbcSessionOwner, org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder.Options, org.hibernate.Session, org.hibernate.SharedSessionContract, org.hibernate.type.descriptor.java.JavaType.CoercionContext, org.hibernate.type.descriptor.WrapperOptions
Direct Known Subclasses:
ToOneDelegateSessionImplementor

public abstract class AbstractDelegateSessionImplementor extends org.hibernate.engine.spi.SessionDelegatorBaseImpl implements org.hibernate.engine.spi.SessionImplementor
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.hibernate.engine.jdbc.LobCreationContext

    org.hibernate.engine.jdbc.LobCreationContext.Callback<T extends Object>
  • Field Summary

    Fields inherited from class org.hibernate.engine.spi.SessionDelegatorBaseImpl

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractDelegateSessionImplementor(org.hibernate.engine.spi.SessionImplementor delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Object
    doImmediateLoad(String entityName)
     
    immediateLoad(String entityName, Object id)
     

    Methods inherited from class org.hibernate.engine.spi.SessionDelegatorBaseImpl

    accessTransaction, addEventListeners, afterOperation, afterScrollOperation, afterTransactionBegin, afterTransactionCompletion, asEventSource, autoFlushIfRequired, autoFlushIfRequired, autoPreFlush, beforeTransactionCompletion, beginTransaction, bestGuessEntityName, 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, createQuery, createQuery, createSelectionQuery, createSelectionQuery, createSelectionQuery, createSelectionQuery, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, delegate, detach, disableFetchProfile, disableFilter, doReturningWork, doWork, enableFetchProfile, enableFilter, evict, execute, find, find, find, find, find, find, findMultiple, findMultiple, 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, getEventMonitor, getExceptionConverter, getFactory, getFetchBatchSize, getFlushMode, getHibernateFlushMode, getIdentifier, getInterceptor, getJdbcBatchSize, getJdbcConnectionAccess, getJdbcCoordinator, getJdbcServices, getJdbcSessionContext, getJdbcTimeZone, getJsonFormatMapper, getLoadQueryInfluencers, getLobCreator, getLobHelper, getLockMode, getManagedEntities, getManagedEntities, getManagedEntities, getManagedEntities, getMetamodel, getNamedNativeQuery, getNamedNativeQuery, getNamedProcedureCall, getNamedQuery, getNativeJdbcParametersIgnored, getPersistenceContext, getPersistenceContextInternal, getPreferredSqlTypeCodeForBoolean, getProperties, getReference, getReference, getReference, getSession, getSessionFactory, getSessionIdentifier, getStatistics, getTenantIdentifier, getTenantIdentifierValue, getTransaction, getTransactionCoordinator, getXmlFormatMapper, guessEntityName, initializeCollection, instantiate, instantiate, internalLoad, isClosed, isConnected, isCriteriaCopyTreeEnabled, isCriteriaPlanCacheEnabled, isDefaultReadOnly, isDirty, isEventSource, isFetchProfileEnabled, isIdentifierRollbackEnabled, isJoinedToTransaction, isOpen, isOpenOrWaitingForAutoClose, isReadOnly, isSubselectFetchingEnabled, isTransactionInProgress, joinTransaction, load, loadFromSecondLevelCache, lock, lock, lock, lock, lock, lock, lock, markForRollbackOnly, merge, merge, merge, persist, persist, prepareForQueryExecution, refresh, refresh, refresh, refresh, refresh, refresh, registerProcess, remove, replicate, replicate, sessionWithOptions, setCacheMode, setCacheRetrieveMode, setCacheStoreMode, setCriteriaCopyTreeEnabled, setCriteriaPlanCacheEnabled, setDefaultReadOnly, setFetchBatchSize, setFlushMode, setHibernateFlushMode, setJdbcBatchSize, setNativeJdbcParametersIgnored, setProperty, setReadOnly, setSubselectFetchingEnabled, shouldAutoJoinTransaction, startTransactionBoundary, unwrap, useStreamForLobBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.resource.jdbc.spi.JdbcSessionOwner

    afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, flushBeforeTransactionCompletion, getEventManager, getEventMonitor, 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, createNamedSelectionQuery, createNamedSelectionQuery, createSelectionQuery, 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, createQuery, getCacheMode, getNamedNativeQuery, getNamedNativeQuery, getNamedQuery

    Methods inherited from interface org.hibernate.Session

    addEventListeners, byId, byId, byMultipleIds, byMultipleIds, byMultipleNaturalId, byMultipleNaturalId, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, clear, contains, createNamedQuery, createNamedQuery, createQuery, createQuery, createQuery, createQuery, createQuery, createQuery, detach, disableFetchProfile, enableFetchProfile, evict, find, findMultiple, findMultiple, flush, get, get, get, get, get, get, getCacheMode, getCacheRetrieveMode, getCacheStoreMode, getCurrentLockMode, getEntityGraphs, getEntityName, getFetchBatchSize, getFlushMode, getHibernateFlushMode, getIdentifier, getLobHelper, getManagedEntities, getManagedEntities, getManagedEntities, getManagedEntities, getReference, getReference, getReference, getStatistics, isDefaultReadOnly, isDirty, isFetchProfileEnabled, isReadOnly, isSubselectFetchingEnabled, load, lock, lock, lock, merge, merge, merge, persist, persist, refresh, refresh, remove, replicate, replicate, sessionWithOptions, setCacheMode, setCacheRetrieveMode, setCacheStoreMode, setDefaultReadOnly, setFetchBatchSize, setFlushMode, setHibernateFlushMode, setProperty, setReadOnly, setSubselectFetchingEnabled

    Methods inherited from interface org.hibernate.engine.spi.SessionImplementor

    callWithConnection, createEntityGraph, createEntityGraph, createQuery, forceFlush, forceFlush, getActionQueue, getEntityGraph, getSession, getSessionFactory, instantiate, runWithConnection

    Methods inherited from interface org.hibernate.SharedSessionContract

    beginTransaction, close, createEntityGraph, createNamedStoredProcedureQuery, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, disableFilter, doReturningWork, doWork, enableFilter, fromTransaction, getCriteriaBuilder, getEnabledFilter, getJdbcBatchSize, getNamedProcedureCall, getTenantIdentifier, getTenantIdentifierValue, getTransaction, inTransaction, isConnected, isJoinedToTransaction, isOpen, joinTransaction, setJdbcBatchSize

    Methods inherited from interface org.hibernate.engine.spi.SharedSessionContractImplementor

    accessTransaction, afterOperation, afterScrollOperation, asEventSource, asSessionImplementor, asStatelessSession, autoFlushIfRequired, autoFlushIfRequired, autoPreFlush, bestGuessEntityName, bestGuessEntityName, checkOpen, checkOpen, checkTransactionNeededForUpdateOperation, flush, generateEntityKey, getCacheTransactionSynchronization, getConfiguredJdbcBatchSize, getContextEntityIdentifier, getDialect, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getExceptionConverter, getFactory, getHibernateFlushMode, getInterceptor, getJdbcCoordinator, getJdbcServices, getLoadQueryInfluencers, getNativeJdbcParametersIgnored, getPersistenceContext, getPersistenceContextInternal, getSessionIdentifier, getSessionToken, getTypeConfiguration, guessEntityName, initializeCollection, instantiate, internalLoad, isClosed, isCriteriaCopyTreeEnabled, isCriteriaPlanCacheEnabled, isDefaultReadOnly, isEventSource, isIdentifierRollbackEnabled, isOpenOrWaitingForAutoClose, isSessionImplementor, isStatelessSession, isTransactionInProgress, loadFromSecondLevelCache, lock, markForRollbackOnly, prepareForQueryExecution, registerProcess, setCriteriaCopyTreeEnabled, setCriteriaPlanCacheEnabled, setNativeJdbcParametersIgnored

    Methods inherited from interface org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder.Options

    shouldAutoJoinTransaction

    Methods inherited from interface org.hibernate.type.descriptor.WrapperOptions

    getJdbcTimeZone, getJsonFormatMapper, getLobCreator, getPreferredSqlTypeCodeForBoolean, getXmlFormatMapper, useStreamForLobBinding
  • Constructor Details

    • AbstractDelegateSessionImplementor

      public AbstractDelegateSessionImplementor(org.hibernate.engine.spi.SessionImplementor delegate)
  • Method Details

    • doImmediateLoad

      public abstract Object doImmediateLoad(String entityName)
    • immediateLoad

      public Object immediateLoad(String entityName, Object id) throws org.hibernate.HibernateException
      Specified by:
      immediateLoad in interface org.hibernate.engine.spi.SharedSessionContractImplementor
      Overrides:
      immediateLoad in class org.hibernate.engine.spi.SessionDelegatorBaseImpl
      Throws:
      org.hibernate.HibernateException