165166167168169170171172173174175
// note that we don't need to close ResultIterator // since "dataRows" will do it internally List<DataRow> resultRows; try { resultRows = (List<DataRow>) it.allRows(); } finally { it.close(); }