OPENJPA-1939: Increase max index length for DB2 v9 and later

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2011-02-15 19:23:44 +00:00
parent fe7601ce39
commit 1ce3034b67
1 changed files with 4 additions and 1 deletions

View File

@ -343,8 +343,11 @@ public class DB2Dictionary
supportsLockingWithInnerJoin = true;
supportsLockingWithOuterJoin = true;
forUpdateClause = "WITH RR USE AND KEEP UPDATE LOCKS";
if (maj >=9)
if (maj >=9) {
maxIndexNameLength=128;
supportsXMLColumn = true;
}
}
// platform specific settings