cancel
Showing results for 
Search instead for 
Did you mean: 

Commit transaction in UnrestrictedSessionRunner

maxr_
Champ on-the-rise
Champ on-the-rise

We have a long process in UnrestrictedSessionRunner. In this one, we do a NXQL query. For each document in the query result, we do some stuff. Between each document treatment, we want to commit the transaction.

We use "TransactionHelper.commitOrRollbackTransaction();" and we obtain [org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper] checkTxActiveRequired Session invoked in a container without a transaction active java.lang.Throwable

What is missing? Thanks a lot.

0 REPLIES 0
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.