rimossa eccezione in caso di errore e aggiunto commit per gestione transazioni
This commit is contained in:
@@ -155,7 +155,6 @@ public class CambioTipoDocPlanService {
|
||||
|
||||
if (error) {
|
||||
mLastProcedureStartTime.remove(profileDb);
|
||||
throw new Exception("Errore, controllare il log");
|
||||
} else
|
||||
multiDBTransactionManager.commitAll();
|
||||
}
|
||||
|
||||
@@ -163,6 +163,7 @@ public class GeneraCorrispettiviService {
|
||||
" pv. " + dtbDoct.getCodMdep()
|
||||
));
|
||||
entityReturn.add(dtbDoct);
|
||||
multiDBTransactionManager.commitAll();
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user