Top Description Methods
org.hibernate.resource.jdbc.spi

public Interface JdbcSessionContext

Known Direct Implementers
org.hibernate.internal.JdbcSessionContextImpl
Imports
org.hibernate.ConnectionAcquisitionMode, .ConnectionReleaseMode, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.ServiceRegistry

Provides the JdbcSession implementation with contextual information it needs during its lifecycle.
Author
Steve Ebersole

Method Summary

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

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

Returns:

The session factory
getSessionFactory
()

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Retrieve the session factory for this environment.
public StatementInspector
public boolean
public boolean

Method Detail

doesConnectionProviderDisableAutoCommitback to summary
public boolean doesConnectionProviderDisableAutoCommit()
getConnectionAcquisitionModeback to summary
public ConnectionAcquisitionMode getConnectionAcquisitionMode()

Deprecated

Use getPhysicalConnectionHandlingMode instead

Annotations
@Deprecated
getConnectionReleaseModeback to summary
public ConnectionReleaseMode getConnectionReleaseMode()

Deprecated

Use getPhysicalConnectionHandlingMode instead

Annotations
@Deprecated
getFetchSizeback to summary
public int getFetchSize()
getObserverback to summary
public JdbcObserver getObserver()

Deprecated

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

getPhysicalConnectionHandlingModeback to summary
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
getServiceRegistryback to summary
public ServiceRegistry getServiceRegistry()
getSessionFactoryback to summary
public SessionFactoryImplementor 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

getStatementInspectorback to summary
public StatementInspector getStatementInspector()
isGetGeneratedKeysEnabledback to summary
public boolean isGetGeneratedKeysEnabled()
isScrollableResultSetsEnabledback to summary
public boolean isScrollableResultSetsEnabled()