|
|||||||||
| Home >> All >> org >> hibernate >> [ context overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hibernate.context
Interface CurrentSessionContext

- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- JTASessionContext, ManagedSessionContext, ThreadLocalSessionContext
- public interface CurrentSessionContext
- extends java.io.Serializable
Defines the contract for implementations which know how to scope the notion of a current session 55 .
Implementations should adhere to the following:- contain a constructor accepting a single argument of type org.hibernate.engine.SessionFactoryImplementor
- should be thread safe
- should be fully serializable
| Method Summary | |
org.hibernate.classic.Session |
currentSession()
Retrieve the current session according to the scoping defined by this implementation. |
| Method Detail |
currentSession
public org.hibernate.classic.Session currentSession() throws org.hibernate.HibernateException
- Retrieve the current session according to the scoping defined
by this implementation.
|
|||||||||
| Home >> All >> org >> hibernate >> [ context overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC