ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgothard <lance.goth...@anthem.com>
Subject getting Stored Proc return code
Date Thu, 02 Aug 2007 13:25:30 GMT

I'm using bean mapping and was wondering if there is a way get the return
code from a stored proc without modifying the bean. 

Here's a bean example

public class Insert {

   private String param;

   public void setParam(String param){this.param = param};

   public String getParam() {return param};

}


      <parameterMap id="insertParameters" class="Insert">

            <parameter property="param" mode="IN" />

      </parameterMap>

 

      <procedure id="create" parameterMap="insertParameters">

            { call ? = insertProc(?) }

      </procedure>

 
All the stored proc examples that I’ve seen use class=map to pass in the
parameters and receive the return type. I’m using a JavaBean for the class
attribute and I was wondering if there’s a way to get the return code back
without modifying the bean.

-- 
View this message in context: http://www.nabble.com/getting-Stored-Proc-return-code-tf4206104.html#a11964424
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message