Ciao; basta fare un if( rs.next() ) se è vero almeno 1 riga c'è.
Ciao