public class JdbcSessionContextImpl extends java.lang.Object implements JdbcSessionContext
Constructor and Description |
---|
JdbcSessionContextImpl(SharedSessionContractImplementor session,
StatementInspector statementInspector) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesConnectionProviderDisableAutoCommit() |
ConnectionAcquisitionMode |
getConnectionAcquisitionMode() |
ConnectionReleaseMode |
getConnectionReleaseMode() |
int |
getFetchSize() |
JdbcObserver |
getObserver() |
PhysicalConnectionHandlingMode |
getPhysicalConnectionHandlingMode() |
ServiceRegistry |
getServiceRegistry() |
SessionFactoryImplementor |
getSessionFactory()
Retrieve the session factory for this environment.
|
StatementInspector |
getStatementInspector() |
boolean |
isGetGeneratedKeysEnabled() |
boolean |
isScrollableResultSetsEnabled() |
public JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector)
public boolean isScrollableResultSetsEnabled()
isScrollableResultSetsEnabled
in interface JdbcSessionContext
public boolean isGetGeneratedKeysEnabled()
isGetGeneratedKeysEnabled
in interface JdbcSessionContext
public int getFetchSize()
getFetchSize
in interface JdbcSessionContext
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
getPhysicalConnectionHandlingMode
in interface JdbcSessionContext
public boolean doesConnectionProviderDisableAutoCommit()
doesConnectionProviderDisableAutoCommit
in interface JdbcSessionContext
public ConnectionReleaseMode getConnectionReleaseMode()
getConnectionReleaseMode
in interface JdbcSessionContext
public ConnectionAcquisitionMode getConnectionAcquisitionMode()
getConnectionAcquisitionMode
in interface JdbcSessionContext
public StatementInspector getStatementInspector()
getStatementInspector
in interface JdbcSessionContext
public JdbcObserver getObserver()
getObserver
in interface JdbcSessionContext
public SessionFactoryImplementor getSessionFactory()
JdbcSessionContext
getSessionFactory
in interface JdbcSessionContext
public ServiceRegistry getServiceRegistry()
getServiceRegistry
in interface JdbcSessionContext
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.