com.atlassian.crowd.embedded.hibernate2.batch
Class SpringHibernate2SessionFactory
java.lang.Object
com.atlassian.crowd.embedded.hibernate2.batch.SpringHibernate2SessionFactory
- All Implemented Interfaces:
- Hibernate2SessionFactory
public class SpringHibernate2SessionFactory
- extends Object
- implements Hibernate2SessionFactory
Uses SessionFactoryUtils
to find the currently running session.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringHibernate2SessionFactory
public SpringHibernate2SessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
getCurrentSession
public net.sf.hibernate.Session getCurrentSession()
- Specified by:
getCurrentSession
in interface Hibernate2SessionFactory
- Returns:
- Return the current session or null of no session is currently active.
Copyright © 2003–2015 Atlassian. All rights reserved.