OPENJPA-1597 Discovered 'rule' is a MSSQL reserved word

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-03-27 17:23:16 +00:00
parent 9a75bfe59d
commit a9648ec87e
1 changed files with 1 additions and 1 deletions

View File

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