I\'m trying to create a simple method that receives a ResultSet as a parameter and returns an int that contains the row count of the ResultSet. Is this a valid way of doing
Do a SELECT COUNT(*) FROM ... query instead.
SELECT COUNT(*) FROM ...