com.liferay.portal.dao.orm.hibernate
Class SessionFactoryImpl
java.lang.Object
com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory
public class SessionFactoryImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.dao.orm.SessionFactory
View Source
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionFactoryImpl
public SessionFactoryImpl()
closeSession
public void closeSession(com.liferay.portal.kernel.dao.orm.Session session)
throws com.liferay.portal.kernel.dao.orm.ORMException
- Specified by:
closeSession
in interface com.liferay.portal.kernel.dao.orm.SessionFactory
- Throws:
com.liferay.portal.kernel.dao.orm.ORMException
getDialect
public com.liferay.portal.kernel.dao.orm.Dialect getDialect()
throws com.liferay.portal.kernel.dao.orm.ORMException
- Specified by:
getDialect
in interface com.liferay.portal.kernel.dao.orm.SessionFactory
- Throws:
com.liferay.portal.kernel.dao.orm.ORMException
getSessionFactoryImplementor
public org.hibernate.engine.SessionFactoryImplementor getSessionFactoryImplementor()
openNewSession
public com.liferay.portal.kernel.dao.orm.Session openNewSession(java.sql.Connection connection)
throws com.liferay.portal.kernel.dao.orm.ORMException
- Specified by:
openNewSession
in interface com.liferay.portal.kernel.dao.orm.SessionFactory
- Throws:
com.liferay.portal.kernel.dao.orm.ORMException
openSession
public com.liferay.portal.kernel.dao.orm.Session openSession()
throws com.liferay.portal.kernel.dao.orm.ORMException
- Specified by:
openSession
in interface com.liferay.portal.kernel.dao.orm.SessionFactory
- Throws:
com.liferay.portal.kernel.dao.orm.ORMException
setSessionFactoryClassLoader
public void setSessionFactoryClassLoader(java.lang.ClassLoader sessionFactoryClassLoader)
setSessionFactoryImplementor
public void setSessionFactoryImplementor(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)
wrapSession
protected com.liferay.portal.kernel.dao.orm.Session wrapSession(org.hibernate.Session session)