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:
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