Details
-
Improvement
-
Resolution: Fixed
-
Major
-
3.4
-
None
-
Unknown
-
Description
Deprecate
public boolean beginTransaction(boolean withTransaction, XWikiContext context)
public boolean beginTransaction(SessionFactory sfactory, boolean withTransaction, XWikiContext context)
in favor of
public boolean beginTransaction(SessionFactory sfactory, XWikiContext context)
Deprecate
public void endTransaction(XWikiContext context, boolean commit, boolean withTransaction)
public <T> T execute(XWikiContext context, boolean bTransaction, boolean doCommit, HibernateCallback<T> cb)
in favor of
public <T> T execute(XWikiContext context, boolean doCommit, HibernateCallback<T> cb)
and add new method
public <T> T failSafeExecute(XWikiContext context, boolean doCommit, HibernateCallback<T> cb)
Deprecate
public <T> T executeRead(XWikiContext context, boolean bTransaction, HibernateCallback<T> cb) throws XWikiException
in favor of
public <T> T executeRead(XWikiContext context, HibernateCallback<T> cb) throws XWikiException
and add new method
public <T> T failSafeExecuteRead(XWikiContext context, HibernateCallback<T> cb)
Deprecate
public <T> T executeWrite(XWikiContext context, boolean bTransaction, HibernateCallback<T> cb)
in favor of
public <T> T executeWrite(XWikiContext context, HibernateCallback<T> cb) throws XWikiException
and add new method
public <T> T failSafeExecuteWrite(XWikiContext context, HibernateCallback<T> cb)