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 ibatis-new-user <sh...@judiciary.state.nj.us> on 2005/01/12 22:08:25 UTC

How to get Stored Procedure's STATUS

Hi,
    We have a Stored Procedure which returns "Status" variable indicating 
successful execution of a Stored Procedure. 
How to Map this variable in ResultMap?

e.g.

I have a ResultMap as :

<resultMap id="getResult" class="testdomain.ProcBean">
		  <result property="w_pojuid" column="1"/>
		  <result property="w_county" column="2"/>
		  <result property="w_courtyear" column="3"/>
		  <result property="w_countycode" column="4"/>
		  <result property="w_duedate" column="5"/>
                  
                  <result property="sp_status" column="???????"/>

How to map this Status variable??

Thanks,