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

Greg Brown commented on PIVOT-93:
---------------------------------

My JDBC knowledge is a bit dated. Is RowSet considered a more modern 
replacement for ResultSet? Is it in widespread use? If so, that makes sense.

Otherwise, we might have to rely on an iterator to enumerate the contents of 
the result set. This implies that we'd have to update JSONSerializer and 
CSVSerializer to use the iterator rather than get(i) to walk the list's 
contents.




> 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.

Reply via email to