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, JdbcObserver jdbcObserver) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Deprecated.boolean
isActive()
boolean
boolean
boolean
boolean
-
Constructor Details
-
JdbcSessionContextImpl
public JdbcSessionContextImpl(SessionFactoryImplementor sessionFactory, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, JdbcServices jdbcServices, BatchBuilder batchBuilder, JdbcObserver jdbcObserver)
-
-
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
-
getObserver
Deprecated.- Specified by:
getObserver
in interfaceJdbcSessionContext
-
getSessionFactory
Deprecated.Description copied from interface:JdbcSessionContext
Retrieve the session factory for this environment.- Specified by:
getSessionFactory
in interfaceJdbcSessionContext
-
getServiceRegistry
Deprecated.Description copied from interface:JdbcSessionContext
Retrieve the service registry.- Specified by:
getServiceRegistry
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
-