ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilberto Montoya" <wilbe...@ec-red.com>
Subject Mapping SP to Beans in oracle
Date Thu, 21 Jul 2005 00:22:48 GMT
Hi i have two questions about Oracle (yes, i know i'm not the only ;) ), but
is posible map an oracle cursor to a class like a java bean only changing
the XML file (without typehandler) and is posible map more than one cursor?

thank you

  <parameterMap id="clientParameters" class="map" >
>        <parameter property="result" jdbcType="ORACLECURSOR" mode="OUT"/>
>        <parameter property="maxRows" jdbcType="VARCHAR"
javaType="java.lang.String" mode="IN"/>
>    </parameterMap>
>    <procedure id="getClientListProc" resultMap="clientResult"
>        {?= call abc.CLIENT_VIEW_PKG.client_result_list_f(?)}
>    </procedure>

View raw message