Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

opencsv_CSVWriter.WriteAll(ResultSet rs,True) creating problem for integer value

 
panku kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator


Hi All,

When using CSVWriter.WriteAll(Resultset rs,true) for making .CSV file, Integer value from ResulSet is getting saved in CSV file with ".0 " appended.(Like if for integer value of resultset is 99, it is getting saved in CSV file as 99.0 ).

I am facing lots of problem due to this, so please help me as soon as possible .
Its urgent.
 
Rob Spoor
Sheriff
Pie
Posts: 20605
60
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseOneThreadPerQuestion. Let's stick to the one you created in I/O.
 
    Bookmark Topic Watch Topic
  • New Topic