com.atlassian.hibernate
Class SpringPluginHibernateSessionFactory
java.lang.Object
com.atlassian.hibernate.SpringPluginHibernateSessionFactory
- All Implemented Interfaces:
- PluginHibernateSessionFactory
public final class SpringPluginHibernateSessionFactory
- extends Object
- implements PluginHibernateSessionFactory
A session factory
that uses Spring's (2.x) standard way of accessing the session
Method Summary |
net.sf.hibernate.Session |
getSession()
Gets the current Hibernate session, may create a new one if needed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringPluginHibernateSessionFactory
public SpringPluginHibernateSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
getSession
public net.sf.hibernate.Session getSession()
- Description copied from interface:
PluginHibernateSessionFactory
- Gets the current Hibernate session, may create a new one if needed.
- Specified by:
getSession
in interface PluginHibernateSessionFactory
- Returns:
- the current Hibernate session
Copyright © 2003-2012 Atlassian. All Rights Reserved.