public class SpringPluginHibernateSessionFactory extends Object implements PluginHibernateSessionFactory
Constructor and Description |
---|
SpringPluginHibernateSessionFactory(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
org.hibernate.Session |
getSession()
Gets the current Hibernate session
|
public SpringPluginHibernateSessionFactory(org.hibernate.SessionFactory sessionFactory)
@NotNull public org.hibernate.Session getSession()
PluginHibernateSessionFactory
getSession
in interface PluginHibernateSessionFactory
@NotNull public Connection getConnection()
getConnection
in interface PluginHibernateSessionFactory
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.