类 JdbcSessionContextImpl
- java.lang.Object
-
- org.hibernate.internal.JdbcSessionContextImpl
-
- 所有已实现的接口:
JdbcSessionContext
public class JdbcSessionContextImpl extends Object implements JdbcSessionContext
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector, org.hibernate.internal.FastSessionServices fastSessionServices)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleandoesConnectionProviderDisableAutoCommit()ConnectionAcquisitionModegetConnectionAcquisitionMode()ConnectionReleaseModegetConnectionReleaseMode()intgetFetchSize()JdbcObservergetObserver()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()ServiceRegistrygetServiceRegistry()SessionFactoryImplementorgetSessionFactory()Retrieve the session factory for this environment.StatementInspectorgetStatementInspector()booleanisGetGeneratedKeysEnabled()booleanisScrollableResultSetsEnabled()
-
-
-
构造器详细资料
-
JdbcSessionContextImpl
public JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector, org.hibernate.internal.FastSessionServices fastSessionServices)
-
-
方法详细资料
-
isScrollableResultSetsEnabled
public boolean isScrollableResultSetsEnabled()
-
isGetGeneratedKeysEnabled
public boolean isGetGeneratedKeysEnabled()
- 指定者:
isGetGeneratedKeysEnabled在接口中JdbcSessionContext
-
getFetchSize
public int getFetchSize()
- 指定者:
getFetchSize在接口中JdbcSessionContext
-
getPhysicalConnectionHandlingMode
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
doesConnectionProviderDisableAutoCommit
public boolean doesConnectionProviderDisableAutoCommit()
-
getConnectionReleaseMode
public ConnectionReleaseMode getConnectionReleaseMode()
- 指定者:
getConnectionReleaseMode在接口中JdbcSessionContext
-
getConnectionAcquisitionMode
public ConnectionAcquisitionMode getConnectionAcquisitionMode()
-
getStatementInspector
public StatementInspector getStatementInspector()
- 指定者:
getStatementInspector在接口中JdbcSessionContext
-
getObserver
public JdbcObserver getObserver()
- 指定者:
getObserver在接口中JdbcSessionContext
-
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
从接口复制的说明:JdbcSessionContextRetrieve the session factory for this environment.- 指定者:
getSessionFactory在接口中JdbcSessionContext- 返回:
- The session factory
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- 指定者:
getServiceRegistry在接口中JdbcSessionContext
-
-