Liferay 7.0-ce-m6

com.liferay.portal.dao.shard
Class ShardSpringSessionContext

java.lang.Object
  extended by org.springframework.orm.hibernate3.SpringSessionContext
      extended by com.liferay.portal.dao.shard.ShardSpringSessionContext
All Implemented Interfaces:
Serializable, org.hibernate.context.CurrentSessionContext

public class ShardSpringSessionContext
extends org.springframework.orm.hibernate3.SpringSessionContext

See Also:
Serialized Form

Constructor Summary
ShardSpringSessionContext(org.hibernate.engine.SessionFactoryImplementor sessionFactory)
           
 
Method Summary
 org.hibernate.classic.Session currentSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardSpringSessionContext

public ShardSpringSessionContext(org.hibernate.engine.SessionFactoryImplementor sessionFactory)
Method Detail

currentSession

public org.hibernate.classic.Session currentSession()
                                             throws org.hibernate.HibernateException
Specified by:
currentSession in interface org.hibernate.context.CurrentSessionContext
Overrides:
currentSession in class org.springframework.orm.hibernate3.SpringSessionContext
Throws:
org.hibernate.HibernateException

Liferay 7.0-ce-m6