## Uses of Interface
org.hibernate.classic.Session

Packages that use Session
org.hibernate: This package defines the central Hibernate APIs.
org.hibernate.context
org.hibernate.engine: This package contains classes that are "shared" by other packages, and implementations of some key algorithms.
org.hibernate.impl: This package contains implementations of the central Hibernate APIs, especially the Hibernate session.
org.hibernate.jmx: This package exposes a Hibernate instance via JMX.
org.hibernate.testing.junit.functional

Uses of Session in org.hibernate

Methods in org.hibernate that return Session
`Session` `SessionFactory.getCurrentSession()` Obtains the current session.
`Session` `SessionFactory.openSession()` Open a `Session`.
`Session` `SessionFactory.openSession(Connection connection)` Open a `Session`, utilizing the specfied JDBC `Connection`.
`Session` `SessionFactory.openSession(Connection connection, Interceptor interceptor)` Open a `Session`, utilizing the specfied JDBC `Connection` and specified `Interceptor`.
`Session` `SessionFactory.openSession(Interceptor interceptor)` Open a `Session`, utilizing the specified `Interceptor`.

Uses of Session in org.hibernate.context

Methods in org.hibernate.context that return Session
`static Session` `ManagedSessionContext.bind(Session session)` Binds the given session to the current context for its session factory.
`protected Session` `ThreadLocalSessionContext.buildOrObtainSession()` Strictly provided for subclassing purposes; specifically to allow long-session support.
`protected Session` `JTASessionContext.buildOrObtainSession()` Strictly provided for subclassing purposes; specifically to allow long-session support.
`Session` `ThreadLocalSessionContext.currentSession()` Retrieve the current session according to the scoping defined by this implementation.
`Session` `ManagedSessionContext.currentSession()` Retrieve the current session according to the scoping defined by this implementation.
`Session` `JTASessionContext.currentSession()` Retrieve the current session according to the scoping defined by this implementation.
`Session` `CurrentSessionContext.currentSession()` Retrieve the current session according to the scoping defined by this implementation.
`static Session` `ThreadLocalSessionContext.unbind(SessionFactory factory)` Unassociate a previously bound session from the current thread of execution.
`static Session` `ManagedSessionContext.unbind(SessionFactory factory)` Unbinds the session (if one) current associated with the context for the given session.
`protected Session` `ThreadLocalSessionContext.wrap(Session session)`

Methods in org.hibernate.context with parameters of type Session
`static Session` `ManagedSessionContext.bind(Session session)` Binds the given session to the current context for its session factory.
`protected Session` `ThreadLocalSessionContext.wrap(Session session)`

Uses of Session in org.hibernate.engine

Methods in org.hibernate.engine that return Session
`Session` `SessionFactoryImplementor.openSession(Connection connection, boolean flushBeforeCompletionEnabled, boolean autoCloseSessionEnabled, ConnectionReleaseMode connectionReleaseMode)` Open a session conforming to the given parameters.
`Session` `SessionFactoryImplementor.openTemporarySession()` Get a nontransactional "current" session for Hibernate EntityManager

Uses of Session in org.hibernate.impl

Methods in org.hibernate.impl that return Session
`Session` `SessionFactoryImpl.getCurrentSession()`
`Session` `SessionFactoryImpl.openSession()`
`Session` `SessionFactoryImpl.openSession(Connection connection)`
`Session` `SessionFactoryImpl.openSession(Connection connection, boolean flushBeforeCompletionEnabled, boolean autoCloseSessionEnabled, ConnectionReleaseMode connectionReleaseMode)`
`Session` `SessionFactoryImpl.openSession(Connection connection, Interceptor sessionLocalInterceptor)`
`Session` `SessionFactoryImpl.openSession(Interceptor sessionLocalInterceptor)`
`Session` `SessionFactoryImpl.openTemporarySession()`

Uses of Session in org.hibernate.jmx

Methods in org.hibernate.jmx that return Session
`Session` `SessionFactoryStub.getCurrentSession()`
`Session` `SessionFactoryStub.openSession()`
`Session` `SessionFactoryStub.openSession(Connection conn)`
`Session` `SessionFactoryStub.openSession(Connection connection, Interceptor interceptor)`
`Session` `SessionFactoryStub.openSession(Interceptor interceptor)`

Uses of Session in org.hibernate.testing.junit.functional

Methods in org.hibernate.testing.junit.functional that return Session
`Session` `FunctionalTestCase.openSession()`
`Session` `FunctionalTestCase.openSession(Interceptor interceptor)`

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.