diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractSQLServerDictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractSQLServerDictionary.java index 1c76b5a7a..b23f72992 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractSQLServerDictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractSQLServerDictionary.java @@ -38,6 +38,7 @@ public abstract class AbstractSQLServerDictionary public AbstractSQLServerDictionary() { reservedWordSet.addAll(Arrays.asList(new String[]{ "FILE", "INDEX" })); + invalidColumnWordSet.addAll(reservedWordSet); systemTableSet.add("DTPROPERTIES"); validationSQL = "SELECT GETDATE()"; rangePosition = RANGE_POST_DISTINCT;