From a9648ec87e0414f0b27cf43fd562d85864c8f48f Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Sat, 27 Mar 2010 17:23:16 +0000 Subject: [PATCH] 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 --- .../apache/openjpa/jdbc/sql/AbstractSQLServerDictionary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9652f5d2b..ea258d0f8 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 @@ -37,7 +37,7 @@ public abstract class AbstractSQLServerDictionary extends DBDictionary { public AbstractSQLServerDictionary() { - reservedWordSet.addAll(Arrays.asList(new String[]{ "FILE", "INDEX" })); + reservedWordSet.addAll(Arrays.asList(new String[]{ "FILE", "INDEX", "RULE" })); systemTableSet.add("DTPROPERTIES"); validationSQL = "SELECT GETDATE()"; rangePosition = RANGE_POST_DISTINCT;