|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
Uses of Session in org.hibernate |
Methods in org.hibernate that return Session | |
Session |
SessionFactory.openSession(Connection connection)
Open a Session on the given connection. |
Session |
SessionFactory.openSession(Interceptor interceptor)
Create database connection and open a Session on it, specifying an interceptor. |
Session |
SessionFactory.openSession(Connection connection,
Interceptor interceptor)
Open a Session on the given connection, specifying an interceptor. |
Session |
SessionFactory.openSession()
Create database connection and open a Session on it. |
Session |
SessionFactory.getCurrentSession()
Obtains the current session. |
Uses of Session in org.hibernate.context |
Methods in org.hibernate.context that return Session | |
Session |
ThreadLocalSessionContext.currentSession()
|
protected Session |
ThreadLocalSessionContext.buildOrObtainSession()
Strictly provided for subclassing purposes; specifically to allow long-session support. |
protected Session |
ThreadLocalSessionContext.wrap(Session session)
|
static Session |
ThreadLocalSessionContext.unbind(SessionFactory factory)
Unassociate a previously bound session from the current thread of execution. |
Session |
ManagedSessionContext.currentSession()
|
static Session |
ManagedSessionContext.bind(Session session)
Binds the given session to the current context for its session factory. |
static Session |
ManagedSessionContext.unbind(SessionFactory factory)
Unbinds the session (if one) current associated with the context for the given session. |
Session |
JTASessionContext.currentSession()
|
protected Session |
JTASessionContext.buildOrObtainSession()
Strictly provided for subclassing purposes; specifically to allow long-session support. |
Session |
CurrentSessionContext.currentSession()
Retrieve the current session according to the scoping defined by this implementation. |
Methods in org.hibernate.context with parameters of type Session | |
protected Session |
ThreadLocalSessionContext.wrap(Session session)
|
static Session |
ManagedSessionContext.bind(Session session)
Binds the given session to the current context for its session factory. |
Uses of Session in org.hibernate.engine |
Methods in org.hibernate.engine that return Session | |
Session |
SessionFactoryImplementor.openTemporarySession()
Get a nontransactional "current" session for Hibernate EntityManager |
Session |
SessionFactoryImplementor.openSession(Connection connection,
boolean flushBeforeCompletionEnabled,
boolean autoCloseSessionEnabled,
ConnectionReleaseMode connectionReleaseMode)
Open a session conforming to the given parameters. |
Uses of Session in org.hibernate.impl |
Classes in org.hibernate.impl that implement Session | |
class |
SessionImpl
Concrete implementation of a Session, and also the central, organizing component of Hibernate's internal implementation. |
Methods in org.hibernate.impl that return Session | |
Session |
SessionFactoryImpl.openSession(Connection connection,
Interceptor sessionLocalInterceptor)
|
Session |
SessionFactoryImpl.openSession(Interceptor sessionLocalInterceptor)
|
Session |
SessionFactoryImpl.openSession(Connection connection)
|
Session |
SessionFactoryImpl.openSession()
|
Session |
SessionFactoryImpl.openTemporarySession()
|
Session |
SessionFactoryImpl.openSession(Connection connection,
boolean flushBeforeCompletionEnabled,
boolean autoCloseSessionEnabled,
ConnectionReleaseMode connectionReleaseMode)
|
Session |
SessionFactoryImpl.getCurrentSession()
|
Uses of Session in org.hibernate.jmx |
Methods in org.hibernate.jmx that return Session | |
Session |
SessionFactoryStub.openSession(Connection connection,
Interceptor interceptor)
|
Session |
SessionFactoryStub.openSession(Interceptor interceptor)
|
Session |
SessionFactoryStub.openSession()
|
Session |
SessionFactoryStub.openSession(Connection conn)
|
Session |
SessionFactoryStub.getCurrentSession()
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |