mirror of https://github.com/apache/openjpa.git
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:
parent
9a75bfe59d
commit
a9648ec87e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue