db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r366344 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/ModelBasedResultSetIterator.java
Date Thu, 05 Jan 2006 23:48:19 GMT
Author: mvdb
Date: Thu Jan  5 15:48:16 2006
New Revision: 366344

URL: http://svn.apache.org/viewcvs?rev=366344&view=rev
Log:
Fix typo. propName needs to do a getValue instead of another getKey.

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/ModelBasedResultSetIterator.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/ModelBasedResultSetIterator.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/ModelBasedResultSetIterator.java?rev=366344&r1=366343&r2=366344&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/ModelBasedResultSetIterator.java
(original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/ModelBasedResultSetIterator.java
Thu Jan  5 15:48:16 2006
@@ -239,7 +239,7 @@
                 {
                     Map.Entry entry      = (Map.Entry)it.next();
                     String    columnName = (String)entry.getKey();
-                    String    propName   = (String)entry.getKey();
+                    String    propName   = (String)entry.getValue();
                     Object    value      = _platform.getObjectFromResultSet(_resultSet, columnName,
table);
 
                     bean.set(propName, value);



Mime
View raw message