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.boot.spi.SessionFactoryOptions, org.hibernate.engine.jdbc.batch.spi.BatchBuilder, org.hibernate.engine.jdbc.spi.JdbcServices, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.jpa.spi.JpaCompliance, org.hibernate.resource.jdbc.spi.JdbcObserver, .JdbcSessionContext, .PhysicalConnectionHandlingMode, .StatementInspector, org.hibernate.service.ServiceRegistry, org.hibernate.stat.spi.StatisticsImplementor

Author
Steve Ebersole

Field Summary

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

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

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

Constructor Summary

AccessConstructor and Description
public
JdbcSessionContextImpl(SessionFactoryImplementor sessionFactory, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, JdbcServices jdbcServices, BatchBuilder batchBuilder, JdbcObserver jdbcObserver)

Deprecated as a consequence of SessionFactoryImplementor and JdbcObserver being deprecated.

Method Summary

Modifier and TypeMethod and Description
public boolean
public BatchBuilder
public int
public Integer
public JdbcServices
public JpaCompliance
public JdbcObserver
public PhysicalConnectionHandlingMode
public ServiceRegistry
public SessionFactoryImplementor
getSessionFactory()

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

Deprecated
Retrieve the session factory for this environment.
public StatementInspector
public StatisticsImplementor
public boolean
public boolean
public boolean
public boolean
public boolean
private SessionFactoryOptions
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

batchBuilderback to summary
private final BatchBuilder batchBuilder
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.

jdbcServicesback to summary
private final JdbcServices jdbcServices
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(SessionFactoryImplementor sessionFactory, StatementInspector statementInspector, PhysicalConnectionHandlingMode connectionHandlingMode, JdbcServices jdbcServices, BatchBuilder batchBuilder, JdbcObserver jdbcObserver)

Deprecated

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

Method Detail

doesConnectionProviderDisableAutoCommitback to summary
public boolean doesConnectionProviderDisableAutoCommit()

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

Annotations
@Override
getBatchBuilderback to summary
public BatchBuilder getBatchBuilder()

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

Annotations
@Override
getFetchSizeback to summary
public int getFetchSize()

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

Deprecated

Annotations
@Override
@Deprecated
getFetchSizeOrNullback to summary
public Integer getFetchSizeOrNull()

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

Annotations
@Override
getJdbcServicesback to summary
public JdbcServices getJdbcServices()

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

Annotations
@Override
getJpaComplianceback to summary
public JpaCompliance getJpaCompliance()

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

Annotations
@Override
getObserverback to summary
public JdbcObserver getObserver()

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

Deprecated

Annotations
@Override
@Deprecated
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.

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

Deprecated

Retrieve the service registry.

Annotations
@Override
@Deprecated
getSessionFactoryback to summary
public SessionFactoryImplementor getSessionFactory()

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

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

Deprecated

Retrieve the session factory for this environment.

Annotations
@Override
@Deprecated
getStatementInspectorback to summary
public StatementInspector getStatementInspector()

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

Annotations
@Override
getStatisticsback to summary
public StatisticsImplementor getStatistics()

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

Annotations
@Override
isActiveback to summary
public boolean isActive()

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

Returns:boolean

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

false if the session factory was already destroyed

Annotations
@Override
isGetGeneratedKeysEnabledback to summary
public boolean isGetGeneratedKeysEnabled()

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

Annotations
@Override
isJtaTrackByThreadback to summary
public boolean isJtaTrackByThread()

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

Annotations
@Override
isPreferUserTransactionback to summary
public boolean isPreferUserTransaction()

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

Annotations
@Override
isScrollableResultSetsEnabledback to summary
public boolean isScrollableResultSetsEnabled()

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

Annotations
@Override
settingsback to summary
private SessionFactoryOptions settings()