Package org.hibernate.internal
Class JdbcSessionContextImpl
java.lang.Object
org.hibernate.internal.JdbcSessionContextImpl
- All Implemented Interfaces:
JdbcSessionContext
-
Constructor Summary
ConstructorsConstructorDescriptionJdbcSessionContextImpl(SessionFactoryImplementor sessionFactory, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, JdbcServices jdbcServices, BatchBuilder batchBuilder, JdbcEventHandler jdbcEventHandler) -
Method Summary
-
Constructor Details
-
JdbcSessionContextImpl
public JdbcSessionContextImpl(SessionFactoryImplementor sessionFactory, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, JdbcServices jdbcServices, BatchBuilder batchBuilder, JdbcEventHandler jdbcEventHandler)
-
-
Method Details
-
isScrollableResultSetsEnabled
public boolean isScrollableResultSetsEnabled()- Specified by:
isScrollableResultSetsEnabledin interfaceJdbcSessionContext- See Also:
-
isGetGeneratedKeysEnabled
public boolean isGetGeneratedKeysEnabled()- Specified by:
isGetGeneratedKeysEnabledin interfaceJdbcSessionContext- See Also:
-
getFetchSizeOrNull
- Specified by:
getFetchSizeOrNullin interfaceJdbcSessionContext- See Also:
-
getJpaCompliance
- Specified by:
getJpaCompliancein interfaceJdbcSessionContext
-
isPreferUserTransaction
public boolean isPreferUserTransaction()- Specified by:
isPreferUserTransactionin interfaceJdbcSessionContext- See Also:
-
isJtaTrackByThread
public boolean isJtaTrackByThread()- Specified by:
isJtaTrackByThreadin interfaceJdbcSessionContext- See Also:
-
getPhysicalConnectionHandlingMode
- Specified by:
getPhysicalConnectionHandlingModein interfaceJdbcSessionContext
-
doesConnectionProviderDisableAutoCommit
public boolean doesConnectionProviderDisableAutoCommit()- Specified by:
doesConnectionProviderDisableAutoCommitin interfaceJdbcSessionContext- See Also:
-
getStatementInspector
- Specified by:
getStatementInspectorin interfaceJdbcSessionContext
-
getEventHandler
- Specified by:
getEventHandlerin interfaceJdbcSessionContext
-
getJdbcServices
- Specified by:
getJdbcServicesin interfaceJdbcSessionContext
-
getBatchBuilder
- Specified by:
getBatchBuilderin interfaceJdbcSessionContext
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceJdbcSessionContext- Returns:
falseif the session factory was already destroyed- See Also:
-
getStatistics
- Specified by:
getStatisticsin interfaceJdbcSessionContext
-