Hi I am trying to convert oracle jdbc resultset to csv file. Below is the code used. Issue occures when there is value like below in the field. It deforms the output csv and
Are you using "java.sql.ResultSet" class? If yes, see the library in this link http://opencsv.sourceforge.net/
See an example:
CSVWriter csvWriter = new CSVWriter(new FileWriter("yourfile.csv"), '\t'); java.sql.ResultSet myResultSet = .... ; csvWriter.writeAll(myResultSet, includeHeaders);