com.opensymphony.user.provider.hibernate.dao
Class SessionManager
java.lang.Object
com.opensymphony.user.provider.hibernate.dao.SessionManager
- public class SessionManager
- extends java.lang.Object
- Author:
- Matthew E. Porter
|
Constructor Summary |
SessionManager(net.sf.hibernate.cfg.Configuration configuration)
|
SessionManager(net.sf.hibernate.SessionFactory sessionFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionManager
public SessionManager(net.sf.hibernate.cfg.Configuration configuration)
throws net.sf.hibernate.HibernateException
SessionManager
public SessionManager(net.sf.hibernate.SessionFactory sessionFactory)
throws net.sf.hibernate.HibernateException
getSession
public net.sf.hibernate.Session getSession()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
getSessionFactory
public net.sf.hibernate.SessionFactory getSessionFactory()
closeSession
public void closeSession(net.sf.hibernate.Session session)
flushCloseSession
public void flushCloseSession(net.sf.hibernate.Session session)