incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r960080 - /incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceDerby.java
Date Fri, 02 Jul 2010 18:22:57 GMT
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;



Mime
View raw message