Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.dao.orm.jpa.SessionFactoryImpl
All Implemented Interfaces:
SessionFactory

public class SessionFactoryImpl
extends Object
implements SessionFactory


Constructor Summary
SessionFactoryImpl()
           
 
Method Summary
 void closeSession(Session session)
           
 Dialect getDialect()
           
 Session openNewSession(Connection connection)
           
 Session openSession()
           
 void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
           
 void setSession(Session session)
           
 
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(Session session)
                  throws ORMException
Specified by:
closeSession in interface SessionFactory
Throws:
ORMException

getDialect

public Dialect getDialect()
                   throws ORMException
Specified by:
getDialect in interface SessionFactory
Throws:
ORMException

openNewSession

public Session openNewSession(Connection connection)
                       throws ORMException
Specified by:
openNewSession in interface SessionFactory
Throws:
ORMException

openSession

public Session openSession()
                    throws ORMException
Specified by:
openSession in interface SessionFactory
Throws:
ORMException

setEntityManagerFactory

public void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)

setSession

public void setSession(Session session)

Liferay 6.1.2-ce-ga3