commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r551272 - /jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/RowSetDynaClass.java
Date Wed, 27 Jun 2007 19:00:33 GMT
Author: niallp
Date: Wed Jun 27 12:00:32 2007
New Revision: 551272

URL: http://svn.apache.org/viewvc?view=rev&rev=551272
Log:
BEANUTILS-142 - Fix a bug error in change for this issue - thanks to dyna bean?!

Modified:
    jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/RowSetDynaClass.java

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/RowSetDynaClass.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/RowSetDynaClass.java?view=diff&rev=551272&r1=551271&r2=551272
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/RowSetDynaClass.java
(original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/RowSetDynaClass.java
Wed Jun 27 12:00:32 2007
@@ -231,7 +231,7 @@
                 String name = properties[i].getName();
                 Object value = resultSet.getObject(name);
                 if (value != null) {
-                    Class type = properties[i].getClass();
+                    Class type = properties[i].getType();
                     try {
                         value = ConvertUtils.convert(value, type);
                     } catch (Throwable t) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message