Author: cbegin
Date: Sat Apr  3 18:27:34 2010
New Revision: 930559

URL: http://svn.apache.org/viewvc?rev=930559&view=rev
Log:
ibatis-769 Driver exception when executing selectList on callable statement 
with output parmeters

Modified:
    
ibatis/java/ibatis-3/trunk/src/main/java/org/apache/ibatis/executor/statement/CallableStatementHandler.java

Modified: 
ibatis/java/ibatis-3/trunk/src/main/java/org/apache/ibatis/executor/statement/CallableStatementHandler.java
URL: 
http://svn.apache.org/viewvc/ibatis/java/ibatis-3/trunk/src/main/java/org/apache/ibatis/executor/statement/CallableStatementHandler.java?rev=930559&r1=930558&r2=930559&view=diff
==============================================================================
--- 
ibatis/java/ibatis-3/trunk/src/main/java/org/apache/ibatis/executor/statement/CallableStatementHandler.java
 (original)
+++ 
ibatis/java/ibatis-3/trunk/src/main/java/org/apache/ibatis/executor/statement/CallableStatementHandler.java
 Sat Apr  3 18:27:34 2010
@@ -40,8 +40,9 @@ public class CallableStatementHandler ex
       throws SQLException {
     CallableStatement cs = (CallableStatement) statement;
     cs.execute();
+    List resultList = resultSetHandler.handleResultSets(cs);
     resultSetHandler.handleOutputParameters(cs);
-    return resultSetHandler.handleResultSets(cs);
+    return resultList;
   }
 
   protected Statement instantiateStatement(Connection connection) throws 
SQLException {


Reply via email to