You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "srl (JIRA)" <ib...@incubator.apache.org> on 2006/03/29 22:17:59 UTC

[jira] Commented: (IBATIS-279) Provide a ResultSet Handler

    [ http://issues.apache.org/jira/browse/IBATIS-279?page=comments#action_12372308 ] 

srl commented on IBATIS-279:
----------------------------

I meant .NET DataSet. 

Also XML should have been like
<resultMap class="CustomResult" id="custom_result"  resultSetHandler="com.custom.ResultSetHandler"> 
</resultMap> 

 <select id="getallcustomers" resultMap="custom_result" > 
 select cust_name, age, address from customers_table 
 </select> 


> Provide a ResultSet Handler
> ---------------------------
>
>          Key: IBATIS-279
>          URL: http://issues.apache.org/jira/browse/IBATIS-279
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>  Environment: Windows, 
>     Reporter: srl

>
> Need  ResultSet  Handler for access to ResultSet metadata. We need a ResultSet Handler similar to custom type handler. ResultSet handler should be able to access the ResultSet for custom processing.
> One use case is to produce a custom XML output from resultset similar to XML resultset  provided by  .NET. This will make the two resultsets compatible.
> eg: 
> <resultMap class="CustomResult" id="custom_result">
> </resultMap>
>  <select id="getallcustomers" resultMap="custom_result" >
>  select cust_name, age, address from customers_table
>  </select>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira