com.liferay.portal.dao.orm.hibernate
Class PortletSessionFactoryImpl
java.lang.Object
com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl
- All Implemented Interfaces:
- SessionFactory
public class PortletSessionFactoryImpl
- extends SessionFactoryImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletSessionFactoryImpl
public PortletSessionFactoryImpl()
closeSession
public void closeSession(Session session)
throws ORMException
- Specified by:
closeSession in interface SessionFactory- Overrides:
closeSession in class SessionFactoryImpl
- Throws:
ORMException
openSession
public Session openSession()
throws ORMException
- Specified by:
openSession in interface SessionFactory- Overrides:
openSession in class SessionFactoryImpl
- Throws:
ORMException
setDataSource
public void setDataSource(DataSource dataSource)
createSessionFactory
protected org.hibernate.SessionFactory createSessionFactory(DataSource dataSource)
getDataSource
protected DataSource getDataSource()
getSessionFactory
protected org.hibernate.SessionFactory getSessionFactory()
wrapSession
protected Session wrapSession(org.hibernate.Session session)
- Overrides:
wrapSession in class SessionFactoryImpl