public class SpringPluginHibernateSessionFactory extends Object implements PluginHibernateSessionFactory
Constructor and Description |
---|
SpringPluginHibernateSessionFactory(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Session |
getSession()
Gets the current Hibernate session, may create a new one if needed.
|
public SpringPluginHibernateSessionFactory(org.hibernate.SessionFactory sessionFactory)
@NotNull public org.hibernate.Session getSession()
PluginHibernateSessionFactory
getSession
in interface PluginHibernateSessionFactory
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.