com.liferay.portal.dao.orm.hibernate
Class SessionFactoryImpl

java.lang.Object
  extended by 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

Constructor Summary
SessionFactoryImpl()
           
 
Method Summary
 void closeSession(com.liferay.portal.kernel.dao.orm.Session session)
           
 com.liferay.portal.kernel.dao.orm.Dialect getDialect()
           
 org.hibernate.engine.SessionFactoryImplementor getSessionFactoryImplementor()
           
 com.liferay.portal.kernel.dao.orm.Session openSession()
           
 void setSessionFactoryImplementor(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionFactoryImpl

public SessionFactoryImpl()
Method Detail

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

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

setSessionFactoryImplementor

public void setSessionFactoryImplementor(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)