You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by netsql <ne...@roomity.com> on 2006/04/08 05:48:40 UTC
Re: Created: (IBATIS-279) Provide a ResultSet Handler
CachedRowSet.
ResultSet would be dangerous.
.V
srl (JIRA) wrote:
> 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>
>
>