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 JdbcSessionContextpublic boolean isGetGeneratedKeysEnabled()
isGetGeneratedKeysEnabled in interface JdbcSessionContextpublic int getFetchSize()
getFetchSize in interface JdbcSessionContextpublic PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
getPhysicalConnectionHandlingMode in interface JdbcSessionContextpublic boolean doesConnectionProviderDisableAutoCommit()
doesConnectionProviderDisableAutoCommit in interface JdbcSessionContextpublic ConnectionReleaseMode getConnectionReleaseMode()
getConnectionReleaseMode in interface JdbcSessionContextpublic ConnectionAcquisitionMode getConnectionAcquisitionMode()
getConnectionAcquisitionMode in interface JdbcSessionContextpublic StatementInspector getStatementInspector()
getStatementInspector in interface JdbcSessionContextpublic JdbcObserver getObserver()
getObserver in interface JdbcSessionContextpublic SessionFactoryImplementor getSessionFactory()
JdbcSessionContextgetSessionFactory in interface JdbcSessionContextpublic ServiceRegistry getServiceRegistry()
getServiceRegistry in interface JdbcSessionContextCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.