|
||||||||||
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.getCurrentSession()
Obtains the current session. |
Session |
SessionFactory.openSession()
Create database connection and open a Session on it. |
Session |
SessionFactory.openSession(Connection connection)
Open a Session on the given connection. |
Session |
SessionFactory.openSession(Connection connection,
Interceptor interceptor)
Open a Session on the given connection, specifying an interceptor. |
Session |
SessionFactory.openSession(Interceptor interceptor)
Create database connection and open a Session on it, specifying an 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()
|
Session |
ManagedSessionContext.currentSession()
|
Session |
JTASessionContext.currentSession()
|
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |