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 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 interface org.hibernate.context.spi.CurrentSessionContext
      Throws:
      org.hibernate.HibernateException