Package org.hibernate.resource.jdbc.spi
Interface JdbcSessionContext
-
- All Known Implementing Classes:
JdbcSessionContextImpl
public interface JdbcSessionContext
Provides the JdbcSession implementation with contextual information it needs during its lifecycle.
-
-
Method Summary
All Methods Instance Methods Abstract 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()
-
-
-
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()
-
-