@FunctionalInterface public static interface XWikiHibernateBaseStore.HibernateCallback<T>
Modifier and Type | Method and Description |
---|---|
T |
doInHibernate(org.hibernate.Session session)
method executed by
XWikiHibernateBaseStore and pass open session to it. |
T doInHibernate(org.hibernate.Session session) throws org.hibernate.HibernateException, XWikiException
XWikiHibernateBaseStore
and pass open session to it.session
- - open hibernate sessionXWikiHibernateBaseStore.execute(XWikiContext, boolean, boolean, HibernateCallback)
org.hibernate.HibernateException
- if any store specific exceptionXWikiException
- if exception in xwiki.Copyright © 2004–2022 XWiki. All rights reserved.