You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2014/11/10 03:58:34 UTC

[jira] [Issue Comment Deleted] (CSV-140) QuoteMode.NON_NUMERIC doesn't work with CSVPrinter.printRecords(ResultSet)

     [ https://issues.apache.org/jira/browse/CSV-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated CSV-140:
-----------------------------
    Comment: was deleted

(was: Hi Damjan,

Pardon me for being dense but can you give a CSV example of the problem being solved?

Thank you,
Gary)

> QuoteMode.NON_NUMERIC doesn't work with CSVPrinter.printRecords(ResultSet)
> --------------------------------------------------------------------------
>
>                 Key: CSV-140
>                 URL: https://issues.apache.org/jira/browse/CSV-140
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Printer
>    Affects Versions: 1.0
>            Reporter: Damjan Jovanovic
>            Priority: Minor
>              Labels: patch
>         Attachments: commons-csv-getobject.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
>  CSVPrinter.printRecords(final ResultSet resultSet) retrieves all fields from the ResultSet using ResultSet.getString(), which makes QuoteMode.NON_NUMERIC unnecessarily quote numbers.
> ResultSet.getObject() could be used instead. Any reason why it wasn't?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)