pefernan commented on code in PR #4199:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4199#discussion_r2827146483


##########
api/kogito-services/src/main/java/org/kie/kogito/services/uow/UnitOfWorkExecutor.java:
##########
@@ -42,7 +42,7 @@ public static <T> T executeInUnitOfWork(UnitOfWorkManager 
uowManager, Supplier<T
 
             return result;
         } catch (ProcessInstanceExecutionException e) {
-            uow.end();
+            uow.abort();

Review Comment:
   @josedee we need to adjust this in a different way,  `end()` should be the 
called here when TX are not enabled



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to