Package org.hibernate.internal
Class JdbcSessionContextImpl
- java.lang.Object
-
- org.hibernate.internal.JdbcSessionContextImpl
-
- All Implemented Interfaces:
JdbcSessionContext
public class JdbcSessionContextImpl extends Object implements JdbcSessionContext
-
-
Constructor Summary
Constructors Constructor Description JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, FastSessionServices fastSessionServices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoesConnectionProviderDisableAutoCommit()intgetFetchSize()JdbcObservergetObserver()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()ServiceRegistrygetServiceRegistry()SessionFactoryImplementorgetSessionFactory()Retrieve the session factory for this environment.StatementInspectorgetStatementInspector()booleanisGetGeneratedKeysEnabled()booleanisScrollableResultSetsEnabled()
-
-
-
Constructor Detail
-
JdbcSessionContextImpl
public JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, FastSessionServices fastSessionServices)
-
-
Method Detail
-
isScrollableResultSetsEnabled
public boolean isScrollableResultSetsEnabled()
- Specified by:
isScrollableResultSetsEnabledin interfaceJdbcSessionContext
-
isGetGeneratedKeysEnabled
public boolean isGetGeneratedKeysEnabled()
- Specified by:
isGetGeneratedKeysEnabledin interfaceJdbcSessionContext
-
getFetchSize
public int getFetchSize()
- Specified by:
getFetchSizein interfaceJdbcSessionContext
-
getPhysicalConnectionHandlingMode
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
- Specified by:
getPhysicalConnectionHandlingModein interfaceJdbcSessionContext
-
doesConnectionProviderDisableAutoCommit
public boolean doesConnectionProviderDisableAutoCommit()
- Specified by:
doesConnectionProviderDisableAutoCommitin interfaceJdbcSessionContext
-
getStatementInspector
public StatementInspector getStatementInspector()
- Specified by:
getStatementInspectorin interfaceJdbcSessionContext
-
getObserver
public JdbcObserver getObserver()
- Specified by:
getObserverin interfaceJdbcSessionContext
-
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
Description copied from interface:JdbcSessionContextRetrieve the session factory for this environment.- Specified by:
getSessionFactoryin interfaceJdbcSessionContext- Returns:
- The session factory
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistryin interfaceJdbcSessionContext
-
-