Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
panku kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • 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
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please EaseUp. There is no such thing as "urgent" around here.
 
K. Tsang
Bartender
Posts: 3624
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you try printing out what your result set looks like before outputting to CSV file? The ResultSetHelperService should be some help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!