public final class SpringPluginHibernateSessionFactory extends Object implements PluginHibernateSessionFactory
session factory
that uses Spring's (2.x) standard way of accessing the sessionConstructor and Description |
---|
SpringPluginHibernateSessionFactory(net.sf.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
net.sf.hibernate.Session |
getSession()
Gets the current Hibernate session, may create a new one if needed.
|
public SpringPluginHibernateSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
public net.sf.hibernate.Session getSession()
PluginHibernateSessionFactory
getSession
in interface PluginHibernateSessionFactory
Copyright © 2003–2016 Atlassian. All rights reserved.