Package org.hibernate.resource.jdbc.spi
Interface JdbcSessionContext
-
- All Known Implementing Classes:
JdbcSessionContextImpl
public interface JdbcSessionContextProvides the JdbcSession implementation with contextual information it needs during its lifecycle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandoesConnectionProviderDisableAutoCommit()intgetFetchSize()JdbcObservergetObserver()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()ServiceRegistrygetServiceRegistry()SessionFactoryImplementorgetSessionFactory()Retrieve the session factory for this environment.StatementInspectorgetStatementInspector()booleanisGetGeneratedKeysEnabled()booleanisScrollableResultSetsEnabled()
-
-
-
Method Detail
-
isScrollableResultSetsEnabled
boolean isScrollableResultSetsEnabled()
-
isGetGeneratedKeysEnabled
boolean isGetGeneratedKeysEnabled()
-
getFetchSize
int getFetchSize()
-
getPhysicalConnectionHandlingMode
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
doesConnectionProviderDisableAutoCommit
boolean doesConnectionProviderDisableAutoCommit()
-
getStatementInspector
StatementInspector getStatementInspector()
-
getObserver
JdbcObserver getObserver()
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Retrieve the session factory for this environment.- Returns:
- The session factory
-
getServiceRegistry
ServiceRegistry getServiceRegistry()
-
-