diff --git a/src/main/resources/oracle-to-postgres-javarules.json b/src/main/resources/oracle-to-postgres-javarules.json index 52d3eca..eb4df40 100644 --- a/src/main/resources/oracle-to-postgres-javarules.json +++ b/src/main/resources/oracle-to-postgres-javarules.json @@ -86,7 +86,7 @@ "complexity": "major", "rule_type": "sql", "search": { - "pattern": "\\b(^SELECT|FROM)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m" + "pattern": "\\b(^SELECT|FROM)\\b|\\b(^MERGE|USING)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m" }, "recommendation": 1000 } diff --git a/src/main/resources/oracle-to-postgres-properties.json b/src/main/resources/oracle-to-postgres-properties.json index 1f063e6..fcbee73 100644 --- a/src/main/resources/oracle-to-postgres-properties.json +++ b/src/main/resources/oracle-to-postgres-properties.json @@ -9,7 +9,7 @@ "complexity": "major", "rule_type": "sql", "search": { - "pattern": "\\b(^SELECT|FROM)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m" + "pattern": "\\b(^SELECT|FROM)\\b|\\b(^MERGE|USING)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m" }, "recommendation": 1000 }, diff --git a/src/main/resources/oracle-to-postgres-xmlrules.json b/src/main/resources/oracle-to-postgres-xmlrules.json index 25563e6..722abd4 100644 --- a/src/main/resources/oracle-to-postgres-xmlrules.json +++ b/src/main/resources/oracle-to-postgres-xmlrules.json @@ -35,7 +35,7 @@ "complexity": "major", "rule_type": "sql", "search": { - "pattern": "\\b(^SELECT|FROM)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m" + "pattern": "\\b(^SELECT|FROM)\\b|\\b(^MERGE|USING)\\b|\\b(^INSERT|INTO)\\b|\\b(^DELETE|FROM)\\b|\\b(^UPDATE|SET)\\b|\\b(^CREATE|TABLE)\\b|\\b(^DROP|TABLE)\\b$/m" }, "recommendation": 1000 }