public class LinkedSession extends SessionDecorator
Constructor and Description |
---|
LinkedSession(org.hibernate.Session delegate,
RecordingSessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.hibernate.SessionFactory |
getSessionFactory() |
addEventListeners, beginTransaction, buildLockRequest, byId, byId, byMultipleIds, byMultipleIds, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, clear, contains, contains, createCriteria, createCriteria, createCriteria, createCriteria, createEntityGraph, createEntityGraph, createFilter, createNamedQuery, createNamedQuery, createNamedStoredProcedureQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, createQuery, createQuery, createSQLQuery, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, delete, delete, detach, disableFetchProfile, disableFilter, disconnect, doReturningWork, doWork, enableFetchProfile, enableFilter, evict, find, find, find, find, flush, get, get, get, get, get, get, getCacheMode, getCriteriaBuilder, getCurrentLockMode, getDelegate, getEnabledFilter, getEntityGraph, getEntityGraphs, getEntityManagerFactory, getEntityName, getFlushMode, getHibernateFlushMode, getIdentifier, getJdbcBatchSize, getLobHelper, getLockMode, getMetamodel, getNamedNativeQuery, getNamedProcedureCall, getNamedQuery, getNamedSQLQuery, getProperties, getReference, getSession, getStatistics, getTenantIdentifier, getTransaction, getTypeHelper, isConnected, isDefaultReadOnly, isDirty, isFetchProfileEnabled, isJoinedToTransaction, isOpen, isReadOnly, joinTransaction, load, load, load, load, load, load, load, lock, lock, lock, lock, merge, merge, persist, persist, reconnect, refresh, refresh, refresh, refresh, refresh, refresh, refresh, refresh, remove, replicate, replicate, save, save, saveOrUpdate, saveOrUpdate, sessionWithOptions, setCacheMode, setDefaultReadOnly, setFlushMode, setFlushMode, setHibernateFlushMode, setJdbcBatchSize, setProperty, setReadOnly, unwrap, update, update
public LinkedSession(@Nonnull org.hibernate.Session delegate, @Nonnull RecordingSessionFactory sessionFactory)
@Nonnull public org.hibernate.SessionFactory getSessionFactory()
getSessionFactory
in interface org.hibernate.Session
getSessionFactory
in class SessionDecorator
public void close() throws org.hibernate.HibernateException
close
in interface AutoCloseable
close
in interface javax.persistence.EntityManager
close
in interface org.hibernate.SharedSessionContract
close
in class SessionDecorator
org.hibernate.HibernateException