mirror of https://github.com/apache/openjpa.git
OPENJPA-1818 Exclude 'order' as valid column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e991772527
commit
0bcdb27e8f
|
@ -73,6 +73,13 @@ public class H2Dictionary extends DBDictionary {
|
|||
"ROWNUM", "SELECT", "SYSDATE", "SYSTIME", "SYSTIMESTAMP", "TODAY",
|
||||
"TRUE", "UNION", "WHERE"
|
||||
}));
|
||||
|
||||
// reservedWordSet subset that CANNOT be used as valid column names
|
||||
// (i.e., without surrounding them with double-quotes)
|
||||
invalidColumnWordSet.addAll(Arrays.asList(new String[]{
|
||||
"ORDER",
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue