code: public void eachRow(String sql, Closure closure) throws SQLException {
          eachRow(sql, (Closure) null, closure);
      }
docs: Performs the given SQL query calling the given Closure with each row of the result set.
  The row will be a <code>GroovyResultSet</code> which is a <code>ResultSet</code>
  that supports accessing the fields using property style notation and ordinal index values.
  <p>
  Example usages:
  <pre>
  sql.eachRow("select * from PERSON where firstname like 'S%'") { row ->
  println "$row.firstname ${row[2]}}"
  }
  
  sql.eachRow "call my_stored_proc_returning_resultset()", {
  println it.firstname
  }
  </pre>
  <p>
  Resource handling is performed automatically where appropriate.
  
  @param sql     the sql statement
  @param closure called for each row with a GroovyResultSet
  @throws SQLException if a database access error occurs