Top Fields Constructors Methods
org.hibernate.internal

public Class JdbcSessionContextImpl

extends Object
implements JdbcSessionContext
Class Inheritance
All Implemented Interfaces
org.hibernate.resource.jdbc.spi.JdbcSessionContext
Imports
org.hibernate.ConnectionAcquisitionMode, .ConnectionReleaseMode, org.hibernate.boot.spi.SessionFactoryOptions, org.hibernate.engine.spi.SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.resource.jdbc.spi.JdbcObserver, .JdbcSessionContext, .PhysicalConnectionHandlingMode, .StatementInspector, org.hibernate.service.ServiceRegistry

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PhysicalConnectionHandlingMode
private final transient JdbcObserver
jdbcObserver

Deprecated as a consequence of JdbcObserver being deprecated.
private final transient ServiceRegistry
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private final StatementInspector

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public ConnectionAcquisitionMode
public ConnectionReleaseMode
public int
public JdbcObserver
getObserver()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getObserver.

Deprecated as a consequence of JdbcObserver being deprecated.
public PhysicalConnectionHandlingMode
public ServiceRegistry
public SessionFactoryImplementor
getSessionFactory()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getSessionFactory.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Retrieve the session factory for this environment.
public StatementInspector
public boolean
public boolean
private SessionFactoryOptions
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

connectionHandlingModeback to summary
private final PhysicalConnectionHandlingMode connectionHandlingMode
jdbcObserverback to summary
private final transient JdbcObserver jdbcObserver

Deprecated

as a consequence of JdbcObserver being deprecated. See corresponding docs for further information.

serviceRegistryback to summary
private final transient ServiceRegistry serviceRegistry
sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

statementInspectorback to summary
private final StatementInspector statementInspector

Constructor Detail

JdbcSessionContextImplback to summary
public JdbcSessionContextImpl(SharedSessionContractImplementor session, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, FastSessionServices fastSessionServices)

Method Detail

doesConnectionProviderDisableAutoCommitback to summary
public boolean doesConnectionProviderDisableAutoCommit()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.doesConnectionProviderDisableAutoCommit.

Annotations
@Override
getConnectionAcquisitionModeback to summary
public ConnectionAcquisitionMode getConnectionAcquisitionMode()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getConnectionAcquisitionMode.

Annotations
@Override
getConnectionReleaseModeback to summary
public ConnectionReleaseMode getConnectionReleaseMode()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getConnectionReleaseMode.

Annotations
@Override
getFetchSizeback to summary
public int getFetchSize()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getFetchSize.

Annotations
@Override
getObserverback to summary
public JdbcObserver getObserver()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getObserver.

Deprecated

as a consequence of JdbcObserver being deprecated. See corresponding docs for further information.

Annotations
@Override
getPhysicalConnectionHandlingModeback to summary
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getPhysicalConnectionHandlingMode.

Annotations
@Override
getServiceRegistryback to summary
public ServiceRegistry getServiceRegistry()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getServiceRegistry.

Annotations
@Override
getSessionFactoryback to summary
public SessionFactoryImplementor getSessionFactory()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getSessionFactory.

Doc from org.hibernate.resource.jdbc.spi.JdbcSessionContext.getSessionFactory.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Retrieve the session factory for this environment.

Returns:SessionFactoryImplementor

The session factory

Annotations
@Override
getStatementInspectorback to summary
public StatementInspector getStatementInspector()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.getStatementInspector.

Annotations
@Override
isGetGeneratedKeysEnabledback to summary
public boolean isGetGeneratedKeysEnabled()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.isGetGeneratedKeysEnabled.

Annotations
@Override
isScrollableResultSetsEnabledback to summary
public boolean isScrollableResultSetsEnabled()

Implements org.hibernate.resource.jdbc.spi.JdbcSessionContext.isScrollableResultSetsEnabled.

Annotations
@Override
settingsback to summary
private SessionFactoryOptions settings()