eliminato _ da pattern per cancellazione viste e tabelle temporanee
This commit is contained in:
@@ -54,9 +54,9 @@ public class EmsSystemContext {
|
||||
.collect(Collectors.toList());
|
||||
|
||||
|
||||
Pattern pattern1 = Pattern.compile("(t[0-9]_)\\w+", Pattern.CASE_INSENSITIVE);
|
||||
Pattern pattern2 = Pattern.compile("(m[0-9]_)\\w+", Pattern.CASE_INSENSITIVE);
|
||||
Pattern pattern3 = Pattern.compile("(v[0-9]_)\\w+", Pattern.CASE_INSENSITIVE);
|
||||
Pattern pattern1 = Pattern.compile("(t[0-9])\\w+", Pattern.CASE_INSENSITIVE);
|
||||
Pattern pattern2 = Pattern.compile("(m[0-9])\\w+", Pattern.CASE_INSENSITIVE);
|
||||
Pattern pattern3 = Pattern.compile("(v[0-9])\\w+", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
Predicate<DatabaseTableView> deletionPredicate = x -> pattern1.matcher(x.getTableName()).matches() ||
|
||||
pattern2.matcher(x.getTableName()).matches() ||
|
||||
|
||||
Reference in New Issue
Block a user