I used the opencsv (http://opencsv.sourceforge.net/) library to export resultsets to csv file. I use the writeAll method defined within the library. But somehow BINARY_DOUBLE fields (Oracle) of the table are not getting exported properly. the field contains 0.0 in the table but it is exported as '' to csv. Please help.