This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes opencsv_CSVWriter.WriteAll(ResultSet rs,True) creating problem for integer value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic
Author

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

panku kumar
Greenhorn

Joined: Sep 21, 2012
Posts: 2


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

Joined: Oct 27, 2005
Posts: 19697
    
  20

Please UseOneThreadPerQuestion. Let's stick to the one you created in I/O.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: opencsv_CSVWriter.WriteAll(ResultSet rs,True) creating problem for integer value