public class SpringHibernate2SessionFactory extends Object implements Hibernate2SessionFactory
SessionFactoryUtils
to find the currently running session.Constructor and Description |
---|
SpringHibernate2SessionFactory(net.sf.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
net.sf.hibernate.Session |
getCurrentSession() |
public SpringHibernate2SessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
public net.sf.hibernate.Session getCurrentSession()
getCurrentSession
in interface Hibernate2SessionFactory
Copyright © 2003–2020 Atlassian. All rights reserved.