public final class

SpringPluginHibernateSessionFactory

extends Object
implements PluginHibernateSessionFactory
java.lang.Object
   ↳ com.atlassian.hibernate.SpringPluginHibernateSessionFactory

Class Overview

A SessionFactory session factory that uses Spring's (2.x) standard way of accessing the session

Summary

Public Constructors
SpringPluginHibernateSessionFactory(SessionFactory sessionFactory)
Public Methods
Session getSession()
Gets the current Hibernate session, may create a new one if needed.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.hibernate.PluginHibernateSessionFactory

Public Constructors

public SpringPluginHibernateSessionFactory (SessionFactory sessionFactory)

Public Methods

public Session getSession ()

Gets the current Hibernate session, may create a new one if needed.

Returns
  • the current Hibernate session