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>



Reply via email to