How do I get the size of a java.sql.ResultSet?
Do a SELECT COUNT(*) FROM … query instead. OR In either of the case, you won’t have to loop over the entire data.
Do a SELECT COUNT(*) FROM … query instead. OR In either of the case, you won’t have to loop over the entire data.