Fixes JDBC-63 by exposing a query function that hands off a ResultSet (and updating the query function to do the conversion to a result-set-seq).