if (resultset.next ())

if (!resultSet.next() ) {
    System.out.println("no data");
} 
Tense Tern