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:
isScrollableResultSetsEnabled
in interfaceJdbcSessionContext
- See Also:
-
isGetGeneratedKeysEnabled
public boolean isGetGeneratedKeysEnabled()- Specified by:
isGetGeneratedKeysEnabled
in interfaceJdbcSessionContext
- See Also:
-
getFetchSizeOrNull
- Specified by:
getFetchSizeOrNull
in interfaceJdbcSessionContext
- See Also:
-
getJpaCompliance
- Specified by:
getJpaCompliance
in interfaceJdbcSessionContext
-
isPreferUserTransaction
public boolean isPreferUserTransaction()- Specified by:
isPreferUserTransaction
in interfaceJdbcSessionContext
- See Also:
-
isJtaTrackByThread
public boolean isJtaTrackByThread()- Specified by:
isJtaTrackByThread
in interfaceJdbcSessionContext
- See Also:
-
getPhysicalConnectionHandlingMode
- Specified by:
getPhysicalConnectionHandlingMode
in interfaceJdbcSessionContext
-
doesConnectionProviderDisableAutoCommit
public boolean doesConnectionProviderDisableAutoCommit()- Specified by:
doesConnectionProviderDisableAutoCommit
in interfaceJdbcSessionContext
- See Also:
-
getStatementInspector
- Specified by:
getStatementInspector
in interfaceJdbcSessionContext
-
getEventHandler
- Specified by:
getEventHandler
in interfaceJdbcSessionContext
-
getJdbcServices
- Specified by:
getJdbcServices
in interfaceJdbcSessionContext
-
getBatchBuilder
- Specified by:
getBatchBuilder
in interfaceJdbcSessionContext
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceJdbcSessionContext
- Returns:
false
if the session factory was already destroyed- See Also:
-
getStatistics
- Specified by:
getStatistics
in interfaceJdbcSessionContext
-