IDEMPIERE-1146 + IDEMPIERE-3234 (#76)

Avoid logging the update to ad_sequence caused by the previous fixes for IDEMPIERE-1146 + IDEMPIERE-3234
This commit is contained in:
Carlos Ruiz 2020-05-23 13:10:50 +02:00 committed by GitHub
parent eaf42afd84
commit c5de6cf205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -549,6 +549,9 @@ public abstract class Convert
return true;
if (uppStmt.startsWith("UPDATE R_REQUESTPROCESSOR SET DATELASTRUN"))
return true;
// don't log sequence updates
if (uppStmt.startsWith("UPDATE AD_SEQUENCE SET CURRENTNEXT"))
return true;
// Don't log DELETE FROM Some_Table WHERE AD_Table_ID=? AND Record_ID=?
if (uppStmt.startsWith("DELETE FROM ") && uppStmt.endsWith(" WHERE AD_TABLE_ID=? AND RECORD_ID=?"))
return true;