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

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637781 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-11-10 03:06:47 +00:00
parent 288654d838
commit ea5b3e0ba6
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@
</properties>
<body>
<release version="1.1" date="2014-11-dd" description="Feature and bug fix release">
<action issue="CSV-140" type="fix" dev="ggregory" due-to="Damjan Jovanovic">QuoteMode.NON_NUMERIC doesn't work with CSVPrinter.printRecords(ResultSet)</action>
<action issue="CSV-131" type="add" dev="ggregory" due-to="Holger Stratmann">Save positions of records to enable random access</action>
<action issue="CSV-130" type="fix" dev="ggregory" due-to="Sergei Lebedev">CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...)</action>
<action issue="CSV-128" type="fix" dev="ggregory">CSVFormat.EXCEL should ignore empty header names</action>

View File

@ -512,7 +512,7 @@ public final class CSVPrinter implements Flushable, Closeable {
}
while (resultSet.next()) {
for (int i = 1; i <= columnCount; i++) {
print(resultSet.getString(i));
print(resultSet.getObject(i));
}
println();
}