|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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, will not create a new one if not exists. |
net.sf.hibernate.Session |
getSession(boolean createIfNeeded)
Gets the current Hibernate session. |
Method Detail |
---|
@NotNull net.sf.hibernate.Session getSession()
@NotNull net.sf.hibernate.Session getSession(boolean createIfNeeded)
createIfNeeded
- whether create a new session if needed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |