if (skipRows>0 && driver.isSupported(DBDriverFeature.QUERY_SKIP_ROWS))
{ // let the database skip the rows
queryCmd.skipRows(skipRows);
skipRows = 0;
}
queryCmd.limitRows(skipRows+maxItems);
}
}
// DBReader.open immer nur innerhalb eines try {} finally {} blocks!
r.open(queryCmd, getConnection(queryCmd));