get number of rows from resultset code example
Example: number of records in a resultset
resultSet.last();
rows = resultSet.getRow();
resultSet.beforeFirst();
return resultSet;
resultSet.last();
rows = resultSet.getRow();
resultSet.beforeFirst();
return resultSet;