how to ckeck whether the executeQuery function select 1 row or not
Hi,
Can somebody tell me how to check if 1 row got selected
and if not ( there is no row in table for that query data) by using executeQuery function
eg. ResultSet resultSet=stmt.executeQuery(select * from emp where name = 'ray');
in case if this query does not return any row then i want to display there are no records
else i want todisplay 1 row select

