current session.
Implementations should adhere to the following:
org.hibernate.engine.SessionFactoryImplementor
Implementors should be aware that they are also fully responsible for cleanup of any generated current-sessions.
Note that there will be exactly one instance of the configured
CurrentSessionContext implementation per org..
| Modifier and Type | Method and Description |
|---|---|
| public Session | Returns: The current session.Retrieve the current session according to the scoping defined by this implementation. |
| currentSession | back to summary |
|---|---|
| public Session currentSession() throws HibernateException Retrieve the current session according to the scoping defined by this implementation.
| |