sql - How to get row count using ResultSet in Java? - Stack Overflow
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 this or not ......