|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Deprecated Classes | |
|---|---|
| org.jboss.hibernate.session.HibernateContext
Direct use of the new SessionFactory.getCurrentSession()
method is the preferred approach to managing "transaction contextual sessions". |
|
| Deprecated Methods | |
|---|---|
| org.jboss.hibernate.session.HibernateContext.getSession(String)
Given a SessionFactory, sf (usually obtained from JNDI), this method is equivalent to sf.getCurrentSession(). |
|
| org.jboss.hibernate.session.HibernateContext.getUnmanagedSession(String)
Given a SessionFactory, sf (usually obtained from JNDI), this method is equivalent to sf.openSession( sf.getCurrentSession().connection() ) |
|
| org.jboss.hibernate.session.HibernateContext.releaseUnmanagedSession(Session)
See getUnmanagedSession(String) |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||