I have a ResultSet that I need to set to a tablemodel like below -
ResultSet rs = Database.getUserList(inputParm);
/* I would like to check if resultset is null and throw a JOptionPane saying that the query returned no rows. If I check for rs.next(), I cannot see the first row fetched in the jTable1. */
Anu suggestions on how to check for an empty result set will be helpful.