Class AbstractDelegateSessionImplementor

  • All Implemented Interfaces:
    EntityManager, Closeable, 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
    Author:
    Adam Warski (adam at warski dot org)
    See Also:
    Serialized Form
    • Nested Class Summary

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

        org.hibernate.engine.jdbc.LobCreationContext.Callback<T extends Object>
      • Nested classes/interfaces inherited from interface org.hibernate.Session

        org.hibernate.Session.LockRequest
    • Field Summary

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

        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)  
      • 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, 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, 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, getTransactionStartTimestamp, guessEntityName, initializeCollection, instantiate, instantiate, internalLoad, isAutoCloseSessionEnabled, isClosed, isConnected, isCriteriaCopyTreeEnabled, isDefaultReadOnly, isDirty, isEventSource, isFetchProfileEnabled, isJoinedToTransaction, isOpen, isOpenOrWaitingForAutoClose, isReadOnly, 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, setFlushMode, setHibernateFlushMode, setJdbcBatchSize, setProperty, setReadOnly, shouldAutoClose, shouldAutoJoinTransaction, startTransactionBoundary, unwrap, update, update, useStreamForLobBinding
      • 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, getFlushMode, getHibernateFlushMode, getIdentifier, getLobHelper, getReference, getReference, getReference, getStatistics, isDefaultReadOnly, isDirty, isFetchProfileEnabled, isReadOnly, 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, setFlushMode, setHibernateFlushMode, setReadOnly, 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, 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, getTransactionStartTimestamp, 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​(org.hibernate.engine.spi.SessionImplementor delegate)
    • Method Detail

      • 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