OPENJPA-1939: Revert changes due to unit test failures

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071305 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
index 92d386a..a3474de 100644
--- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
+++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
@@ -344,8 +344,7 @@
             supportsLockingWithOuterJoin = true;
             forUpdateClause = "WITH RR USE AND KEEP UPDATE LOCKS";
             
-            if (maj >=9) { 
-                maxIndexNameLength=128;
+            if (maj >= 9) {
                 supportsXMLColumn = true;
             }
         }
diff --git a/openjpa-project/CHANGES.txt b/openjpa-project/CHANGES.txt
index ee0109d..2bf9feb 100644
--- a/openjpa-project/CHANGES.txt
+++ b/openjpa-project/CHANGES.txt
@@ -247,7 +247,6 @@
     * [OPENJPA-1923] - Allow flexible (non-standard) syntax for collection-valued parameters in IN() expresseion of  JPQL query
     * [OPENJPA-1935] - Informix lock exceptions are not mapped properly by OpenJPA
     * [OPENJPA-1938] - Typo of time data type in SQLServerdictionary for MSSQL 2008
-    * [OPENJPA-1939] - index identifier max length for DB2 v9 is 128. 
 
 Improvement
 -----------
diff --git a/openjpa-project/RELEASE-NOTES.html b/openjpa-project/RELEASE-NOTES.html
index 1c64a11..bb9bb30 100644
--- a/openjpa-project/RELEASE-NOTES.html
+++ b/openjpa-project/RELEASE-NOTES.html
@@ -392,8 +392,6 @@
 </li>
 <li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1938'>OPENJPA-1938</a>] -         Typo of time data type in SQLServerdictionary for MSSQL 2008
 </li>
-<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1939'>OPENJPA-1939</a>] -         index identifier max length for DB2 v9 is 128. 
-</li>
 </ul>
         
 <h2>        Improvement