Two Laptop Bag*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 19656
    
  18

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
 
Don't get me started about those stupid light bulbs.
 
subject: opencsv_CSVWriter.WriteAll(ResultSet rs,True) creating problem for integer value
 
Similar Threads
Handle Huge Data
How to append data in CSV file using CSVWriter?
transferring ResultSet from EJB to JSP/Java Class
save query result
IText Problem