This is an automated email from the ASF dual-hosted git repository. struberg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openjpa.git
commit 61540f00c4bb51c623f2b33a6d12fded14d61d7a Author: Mark Struberg <strub...@apache.org> AuthorDate: Sun May 9 00:06:13 2021 +0200 reserved column words should be public allow configuration --- .../src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java index a9a1030..8ccaf77 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java @@ -425,6 +425,12 @@ public class DBDictionary public int nativeSequenceType= Seq.TYPE_CONTIGUOUS; /** + * reservedWordSet subset that CANNOT be used as valid column names + * (i.e., without surrounding them with double-quotes). + */ + public Set<String> invalidColumnWordSet = new HashSet<>(); + + /** * This variable was used in 2.1.x and prior releases to indicate that * OpenJPA should not use the CACHE clause when getting a native * sequence; instead the INCREMENT BY clause gets its value equal to the @@ -450,9 +456,6 @@ public class DBDictionary protected boolean isJDBC3 = false; protected boolean isJDBC4 = false; protected final Set<String> reservedWordSet = new HashSet<>(); - // reservedWordSet subset that CANNOT be used as valid column names - // (i.e., without surrounding them with double-quotes) - protected Set<String> invalidColumnWordSet = new HashSet<>(); protected final Set<String> systemSchemaSet = new HashSet<>(); protected final Set<String> systemTableSet = new HashSet<>(); protected final Set<String> fixedSizeTypeNameSet = new HashSet<>();