Deprecated API


Contents
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) 
 



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.