com.atlassian.bamboo.persistence3
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. |
getSession
@NotNull
net.sf.hibernate.Session getSession()
- Gets the current Hibernate session, may create a new one if needed.
- Returns:
- the current Hibernate session
Copyright © 2011 Atlassian. All Rights Reserved.