OPENJPA-1902: add all reserved words to invalidColumnWordSet for SQLServer

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040702 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2010-11-30 19:03:10 +00:00
parent 2cc69063aa
commit 502e997b9c
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ public abstract class AbstractSQLServerDictionary
public AbstractSQLServerDictionary() { public AbstractSQLServerDictionary() {
reservedWordSet.addAll(Arrays.asList(new String[]{ "FILE", "INDEX" })); reservedWordSet.addAll(Arrays.asList(new String[]{ "FILE", "INDEX" }));
invalidColumnWordSet.addAll(reservedWordSet);
systemTableSet.add("DTPROPERTIES"); systemTableSet.add("DTPROPERTIES");
validationSQL = "SELECT GETDATE()"; validationSQL = "SELECT GETDATE()";
rangePosition = RANGE_POST_DISTINCT; rangePosition = RANGE_POST_DISTINCT;