[
https://issues.apache.org/jira/browse/CSV-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714121#comment-16714121
]
Gary Gregory edited comment on CSV-234 at 12/9/18 10:01 PM:
------------------------------------------------------------
I added support for JDBC {{Clob}}s with a streaming implementation. Note that
CLOBs are always quoted with the quote character in the CSVFormat unless the
QuoteMode is NONE to avoid looking ahead.
Please verify and close.
was (Author: garydgregory):
I added support for JDBC {{Clob}}s with a streaming implementation. Note that
CLOBs are always quoted with the quote character in the CSVFormat unless the
QuoteMode is NONE to avoid looking ahead.
> Add support for java.sql.Clob
> -----------------------------
>
> Key: CSV-234
> URL: https://issues.apache.org/jira/browse/CSV-234
> Project: Commons CSV
> Issue Type: Improvement
> Components: Printer
> Affects Versions: 1.6
> Reporter: Roberto Benedetti
> Priority: Trivial
> Fix For: 1.7
>
> Attachments: commons-csv-234-gg.patch
>
>
> When invoking CVSPrinter#printRecords(ResultSet) if the object is a
> java.sql.Clob the method toString() may not return its content (eg with
> Oracle drivers it return the basic Object#toString()).
> When dealing with java.sql.Clob a stream must be read.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)