public class AbstractSessionImpl.JdbcSessionContextImpl extends Object implements JdbcSessionContext
Constructor and Description |
---|
JdbcSessionContextImpl(SessionFactoryImpl sessionFactory,
StatementInspector inspector) |
Modifier and Type | Method and Description |
---|---|
ConnectionAcquisitionMode |
getConnectionAcquisitionMode() |
ConnectionReleaseMode |
getConnectionReleaseMode() |
int |
getFetchSize() |
JdbcObserver |
getObserver() |
ServiceRegistry |
getServiceRegistry() |
SessionFactoryImplementor |
getSessionFactory()
Retrieve the session factory for this environment.
|
StatementInspector |
getStatementInspector() |
boolean |
isGetGeneratedKeysEnabled() |
boolean |
isScrollableResultSetsEnabled() |
public JdbcSessionContextImpl(SessionFactoryImpl sessionFactory, StatementInspector inspector)
public boolean isScrollableResultSetsEnabled()
isScrollableResultSetsEnabled
in interface JdbcSessionContext
public boolean isGetGeneratedKeysEnabled()
isGetGeneratedKeysEnabled
in interface JdbcSessionContext
public int getFetchSize()
getFetchSize
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 © 2016 JBoss by Red Hat. All rights reserved.