接口 JdbcSessionContext
-
- 所有已知实现类:
JdbcSessionContextImpl
public interface JdbcSessionContextProvides the JdbcSession implementation with contextual information it needs during its lifecycle.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleandoesConnectionProviderDisableAutoCommit()ConnectionAcquisitionModegetConnectionAcquisitionMode()已过时。UsegetPhysicalConnectionHandlingMode()insteadConnectionReleaseModegetConnectionReleaseMode()已过时。UsegetPhysicalConnectionHandlingMode()insteadintgetFetchSize()JdbcObservergetObserver()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()ServiceRegistrygetServiceRegistry()SessionFactoryImplementorgetSessionFactory()Retrieve the session factory for this environment.StatementInspectorgetStatementInspector()booleanisGetGeneratedKeysEnabled()booleanisScrollableResultSetsEnabled()
-
-
-
方法详细资料
-
isScrollableResultSetsEnabled
boolean isScrollableResultSetsEnabled()
-
isGetGeneratedKeysEnabled
boolean isGetGeneratedKeysEnabled()
-
getFetchSize
int getFetchSize()
-
getPhysicalConnectionHandlingMode
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
doesConnectionProviderDisableAutoCommit
boolean doesConnectionProviderDisableAutoCommit()
-
getConnectionReleaseMode
@Deprecated ConnectionReleaseMode getConnectionReleaseMode()
已过时。UsegetPhysicalConnectionHandlingMode()instead
-
getConnectionAcquisitionMode
@Deprecated ConnectionAcquisitionMode getConnectionAcquisitionMode()
已过时。UsegetPhysicalConnectionHandlingMode()instead
-
getStatementInspector
StatementInspector getStatementInspector()
-
getObserver
JdbcObserver getObserver()
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Retrieve the session factory for this environment.- 返回:
- The session factory
-
getServiceRegistry
ServiceRegistry getServiceRegistry()
-
-