You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by lgothard <la...@anthem.com> on 2007/08/02 15:25:30 UTC
getting Stored Proc return code
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.