You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Todd Volkert (JIRA)" <ji...@apache.org> on 2009/04/14 17:29:14 UTC

[jira] Commented: (PIVOT-93) Create a pivot.sql.ResultSetAdapter class

    [ https://issues.apache.org/jira/browse/PIVOT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698807#action_12698807 ] 

Todd Volkert commented on PIVOT-93:
-----------------------------------

Note that java.sql.ResultSet doesn't provide access to the number of results in the set, so this might be tough to achieve.  I'g suggesst maybe limiting this ticket to wrapping a javax.sql.RowSet (subinterface of ResultSet), which goves such metadata.

> Create a pivot.sql.ResultSetAdapter class
> -----------------------------------------
>
>                 Key: PIVOT-93
>                 URL: https://issues.apache.org/jira/browse/PIVOT-93
>             Project: Pivot
>          Issue Type: New Feature
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>
> This class will implement List<Object> and will allow callers to wrap JDBC results in a collection that is serializable by JSONSerializer and CSVSerializer.
> We'll need a way to specify the columns and types that should be extracted, possibly via a column name to Class<?> mapping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.