Forum Stats

  • 3,826,346 Users
  • 2,260,631 Discussions
  • 7,896,908 Comments

Discussions

wasNull

goodluck247
goodluck247 Member Posts: 335
edited Jun 20, 2017 8:03PM in Java Programming

Hello all,

I have a little Java program which select data from a table and then puts it nicely into an xls file.

ResultSet method wasNull is used to print either the real value, or 0 in case of a null value.

However, sometimes there is NO DATA FOUND for the whole result set... So the program doesn't have an error, but it's not printing anything either.

In other words, wasNull is not up for the job.

What could I use instead?..

Thank you.

Tagged:
goodluck247

Best Answer

Answers

This discussion has been closed.