AW: Transaction

2023-09-20 Thread Ingo Wolfmayr
Solved it myself. I set the service to manual transaction (use-transaction="N") and set TransactionUtil.begin() at the beginning and TransactionUtil.commit() at the end of every loop. Cheers, Ingo -Ursprüngliche Nachricht- Von: Ingo Wolfmayr Gesendet: Mittwoch, 20. September 2023 08:

AW: Transaction

2023-09-21 Thread Ingo Wolfmayr
Hi Deepak, thank. I will adapt my code. Cheers, Ingo -Ursprüngliche Nachricht- Von: Deepak Dixit Gesendet: Freitag, 22. September 2023 07:35 An: user@ofbiz.apache.org Betreff: Re: Transaction Hi Ingo, You can use dispatcher.runSync with requireNewTransaction true eg. try { Map re