You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2010/07/02 20:22:57 UTC

svn commit: r960080 - /incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java

Author: kwright
Date: Fri Jul  2 18:22:57 2010
New Revision: 960080

URL: http://svn.apache.org/viewvc?rev=960080&view=rev
Log:
Fix problem with derby schema interrogation; the case was not what the code expects.

Modified:
    incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java

Modified: incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java?rev=960080&r1=960079&r2=960080&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java (original)
+++ incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java Fri Jul  2 18:22:57 2010
@@ -643,7 +643,7 @@ public class DBInterfaceDerby extends Da
     while (i < set.getRowCount())
     {
       IResultRow row = set.getRow(i++);
-      String fieldName = (String)row.getValue("columnname");
+      String fieldName = ((String)row.getValue("columnname")).toLowerCase();
       String type = (String)row.getValue("columndatatype");
       boolean isNull = false;
       boolean isPrimaryKey = false;