示例#1
0
 public final PersonIdentifierTable.Records getAccessorRecords(
     ConnectionContext cc, QueryDefnSelect accessor, Object[] bindValues)
     throws NamingException, SQLException {
   Rows rows = getTable().createRows();
   QueryResultSet qrs = accessor.execute(cc, bindValues, false);
   if (qrs != null) rows.populateDataByIndexes(qrs.getResultSet());
   qrs.close(false);
   return new Records(rows);
 }
示例#2
0
 public Records(Rows rows) {
   this.rows = rows;
   this.cache = new Record[rows.size()];
 }