Package org.hibernate.resource.jdbc.spi
Interface JdbcSessionContext
- All Known Implementing Classes:
JdbcSessionContextImpl
public interface JdbcSessionContext
Provides the "JDBC session" with contextual information it needs during its lifecycle.
-
Method Summary
-
Method Details
-
isScrollableResultSetsEnabled
boolean isScrollableResultSetsEnabled()- See Also:
-
isGetGeneratedKeysEnabled
boolean isGetGeneratedKeysEnabled()- See Also:
-
getFetchSizeOrNull
Integer getFetchSizeOrNull()- See Also:
-
doesConnectionProviderDisableAutoCommit
boolean doesConnectionProviderDisableAutoCommit() -
isPreferUserTransaction
boolean isPreferUserTransaction() -
isJtaTrackByThread
boolean isJtaTrackByThread()- See Also:
-
getPhysicalConnectionHandlingMode
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode() -
getStatementInspector
StatementInspector getStatementInspector() -
getJpaCompliance
JpaCompliance getJpaCompliance() -
getStatistics
StatisticsImplementor getStatistics() -
getEventHandler
JdbcEventHandler getEventHandler() -
getJdbcServices
JdbcServices getJdbcServices() -
getBatchBuilder
BatchBuilder getBatchBuilder() -
isActive
boolean isActive()- Returns:
false
if the session factory was already destroyed- See Also:
-