Example usage for Java org.hibernate.context.internal ManagedSessionContext fields, constructors, methods, implement or subclass
The text is from its open source code.
Session | bind(Session session) Binds the given session to the current context for its session factory. |
boolean | hasBind(SessionFactory factory) Check to see if there is already a session associated with the current thread for the given session factory. |
Session | unbind(SessionFactory factory) Unbinds the session (if one) current associated with the context for the given session. |