rimossa eccezione in caso di errore e aggiunto commit per gestione transazioni

This commit is contained in:
2025-09-08 15:56:03 +02:00
parent 4bdf4ab779
commit 726aa7f080
2 changed files with 1 additions and 1 deletions

View File

@@ -155,7 +155,6 @@ public class CambioTipoDocPlanService {
if (error) { if (error) {
mLastProcedureStartTime.remove(profileDb); mLastProcedureStartTime.remove(profileDb);
throw new Exception("Errore, controllare il log");
} else } else
multiDBTransactionManager.commitAll(); multiDBTransactionManager.commitAll();
} }

View File

@@ -163,6 +163,7 @@ public class GeneraCorrispettiviService {
" pv. " + dtbDoct.getCodMdep() " pv. " + dtbDoct.getCodMdep()
)); ));
entityReturn.add(dtbDoct); entityReturn.add(dtbDoct);
multiDBTransactionManager.commitAll();
} }
} }
} catch (Exception e) { } catch (Exception e) {