org.hibernate.envers.entities.mapper.relation.lazy
Class AbstractDelegateSessionImplementor

java.lang.Object
  extended by org.hibernate.engine.spi.SessionDelegatorBaseImpl
      extended by org.hibernate.envers.entities.mapper.relation.lazy.AbstractDelegateSessionImplementor
All Implemented Interfaces:
Serializable, LobCreationContext, SessionImplementor, Session, SharedSessionContract
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
session, sessionImplementor
 
Constructor Summary
AbstractDelegateSessionImplementor(SessionImplementor delegate)
           
 
Method Summary
abstract  Object doImmediateLoad(String entityName)
           
 Object immediateLoad(String entityName, Serializable id)
          Load an instance immediately.
 
Methods inherited from class org.hibernate.engine.spi.SessionDelegatorBaseImpl
addEventListeners, afterScrollOperation, beginTransaction, bestGuessEntityName, buildLockRequest, byId, byId, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, clear, close, connection, contains, createCriteria, createCriteria, createCriteria, createCriteria, createFilter, createQuery, createSQLQuery, delete, delete, disableFetchProfile, disableFilter, disableTransactionAutoJoin, disconnect, doReturningWork, doWork, enableFetchProfile, enableFilter, evict, execute, executeNativeUpdate, executeUpdate, flush, generateCacheKey, generateEntityKey, get, get, get, get, get, get, getCacheMode, getContextEntityIdentifier, getCurrentLockMode, getDontFlushFromFind, getEnabledFilter, getEnabledFilters, getEntityName, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getFactory, getFetchProfile, getFilterParameterType, getFilterParameterValue, getFlushMode, getIdentifier, getInterceptor, getJdbcConnectionAccess, getLoadQueryInfluencers, getLobHelper, getNamedQuery, getNamedSQLQuery, getPersistenceContext, getSessionFactory, getStatistics, getTenantIdentifier, getTimestamp, getTransaction, getTransactionCoordinator, getTypeHelper, guessEntityName, initializeCollection, instantiate, internalLoad, isClosed, isConnected, isDefaultReadOnly, isDirty, isEventSource, isFetchProfileEnabled, isOpen, isReadOnly, isTransactionInProgress, iterate, iterateFilter, list, list, list, listCustomQuery, listFilter, load, load, load, load, load, load, load, lock, lock, merge, merge, persist, persist, reconnect, refresh, refresh, refresh, refresh, refresh, replicate, replicate, save, save, saveOrUpdate, saveOrUpdate, scroll, scroll, scroll, scrollCustomQuery, sessionWithOptions, setAutoClear, setCacheMode, setDefaultReadOnly, setFetchProfile, setFlushMode, setReadOnly, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.engine.spi.SessionImplementor
afterScrollOperation, bestGuessEntityName, connection, disableTransactionAutoJoin, executeNativeUpdate, executeUpdate, flush, generateCacheKey, generateEntityKey, getCacheMode, getContextEntityIdentifier, getDontFlushFromFind, getEnabledFilters, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getFactory, getFetchProfile, getFilterParameterType, getFilterParameterValue, getFlushMode, getInterceptor, getJdbcConnectionAccess, getLoadQueryInfluencers, getNamedQuery, getNamedSQLQuery, getPersistenceContext, getTenantIdentifier, getTimestamp, getTransactionCoordinator, guessEntityName, initializeCollection, instantiate, internalLoad, isClosed, isConnected, isEventSource, isOpen, isTransactionInProgress, iterate, iterateFilter, list, list, list, listCustomQuery, listFilter, scroll, scroll, scroll, scrollCustomQuery, setAutoClear, setCacheMode, setFetchProfile, setFlushMode
 
Methods inherited from interface org.hibernate.engine.jdbc.LobCreationContext
execute
 

Constructor Detail

AbstractDelegateSessionImplementor

public AbstractDelegateSessionImplementor(SessionImplementor delegate)
Method Detail

doImmediateLoad

public abstract Object doImmediateLoad(String entityName)

immediateLoad

public Object immediateLoad(String entityName,
                            Serializable id)
                     throws HibernateException
Description copied from interface: SessionImplementor
Load an instance immediately. This method is only called when lazily initializing a proxy. Do not return the proxy.

Specified by:
immediateLoad in interface SessionImplementor
Overrides:
immediateLoad in class SessionDelegatorBaseImpl
Throws:
HibernateException


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.