ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbe...@apache.org
Subject svn commit: r293208 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java
Date Mon, 03 Oct 2005 02:17:52 GMT
Author: cbegin
Date: Sun Oct  2 19:17:49 2005
New Revision: 293208

URL: http://svn.apache.org/viewcvs?rev=293208&view=rev
Log:
Fixed IBATIS-175 ResultSetLogProxy doesn't log the result properly

Modified:
    ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java

Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java
URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java?rev=293208&r1=293207&r2=293208&view=diff
==============================================================================
--- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java
(original)
+++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java
Sun Oct  2 19:17:49 2005
@@ -52,7 +52,7 @@
           //      } else {
           //        setColumn(params[0], rs.getObject(((Integer) params[0]).intValue()));
         }
-      } else if ("next".equals(method.getName())) {
+      } else if ("next".equals(method.getName()) || "close".equals(method.getName())) { 
   
         String s = getValueString();
         if (!"[]".equals(s)) {
           if (first) {



Mime
View raw message