159160161162163164165166167168169
// 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(); }
160161162163164165166167168169170
150151152153154155156157158159160
165166167168169170171172173174175