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) {