title: How do I get the row count in JDBC?
body: <p>I've executed a JDBC query to obtain a resultset. Before iterating over it, I'd like to quickly find out how many rows were returned. How can I do this with high performance?</p>
  
  <p>I'm using Java 6, Oracle 11g, and the latest Oracle JDBC drivers.</p>