getRowCount() public method
Returns the number of rows in the result set. Note, most DBMS may not give a meaningful count. In this case, use "SELECT COUNT(*) FROM tableName" to obtain the number of rows.
public integer getRowCount ( )return integer
Number of rows contained in the result.