com.atlassian.hibernate
Interface PluginHibernateSessionFactory

All Known Implementing Classes:
SpringPluginHibernateSessionFactory

public interface PluginHibernateSessionFactory

A factory to access the current Hibernate session. This is a simplified session factory that allow plugins to access correctly configured sessions from the host application (Confluence).


Method Summary
 net.sf.hibernate.Session getSession()
          Gets the current Hibernate session, may create a new one if needed.
 

Method Detail

getSession

net.sf.hibernate.Session getSession()
Gets the current Hibernate session, may create a new one if needed.

Returns:
the current Hibernate session


Copyright © 2003-2012 Atlassian. All Rights Reserved.