Class PortalCurrentSessionContext
Object
com.liferay.portal.spring.hibernate.PortalCurrentSessionContext
- All Implemented Interfaces:
Serializable
,org.hibernate.context.spi.CurrentSessionContext
public class PortalCurrentSessionContext
extends Object
implements org.hibernate.context.spi.CurrentSessionContext
- Author:
- Shuyang Zhou
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPortalCurrentSessionContext
(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor) -
Method Summary
-
Constructor Details
-
PortalCurrentSessionContext
public PortalCurrentSessionContext(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor)
-
-
Method Details
-
currentSession
public org.hibernate.Session currentSession() throws org.hibernate.HibernateException- Specified by:
currentSession
in interfaceorg.hibernate.context.spi.CurrentSessionContext
- Throws:
org.hibernate.HibernateException
-