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 boolean
doesConnectionProviderDisableAutoCommit()
int
getFetchSize()
JdbcObserver
getObserver()
PhysicalConnectionHandlingMode
getPhysicalConnectionHandlingMode()
ServiceRegistry
getServiceRegistry()
SessionFactoryImplementor
getSessionFactory()
Retrieve the session factory for this environment.StatementInspector
getStatementInspector()
boolean
isGetGeneratedKeysEnabled()
boolean
isScrollableResultSetsEnabled()
-
-
-
Constructor Detail
-
JdbcSessionContextImpl
public JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, FastSessionServices fastSessionServices)
-
-
Method Detail
-
isScrollableResultSetsEnabled
public boolean isScrollableResultSetsEnabled()
- Specified by:
isScrollableResultSetsEnabled
in interfaceJdbcSessionContext
-
isGetGeneratedKeysEnabled
public boolean isGetGeneratedKeysEnabled()
- Specified by:
isGetGeneratedKeysEnabled
in interfaceJdbcSessionContext
-
getFetchSize
public int getFetchSize()
- Specified by:
getFetchSize
in interfaceJdbcSessionContext
-
getPhysicalConnectionHandlingMode
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
- Specified by:
getPhysicalConnectionHandlingMode
in interfaceJdbcSessionContext
-
doesConnectionProviderDisableAutoCommit
public boolean doesConnectionProviderDisableAutoCommit()
- Specified by:
doesConnectionProviderDisableAutoCommit
in interfaceJdbcSessionContext
-
getStatementInspector
public StatementInspector getStatementInspector()
- Specified by:
getStatementInspector
in interfaceJdbcSessionContext
-
getObserver
public JdbcObserver getObserver()
- Specified by:
getObserver
in interfaceJdbcSessionContext
-
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
Description copied from interface:JdbcSessionContext
Retrieve the session factory for this environment.- Specified by:
getSessionFactory
in interfaceJdbcSessionContext
- Returns:
- The session factory
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistry
in interfaceJdbcSessionContext
-
-