List results = new ArrayList(numberOfRecords);
if (mapping == null) {
for (Iterator iterator = databaseRecords.iterator(); iterator.hasNext();) {
DatabaseRecord record = (DatabaseRecord)iterator.next();
results.add(record.values().toArray());
}
} else {
for (Iterator iterator = databaseRecords.iterator(); iterator.hasNext();) {
if (mapping.getResults().size() > 1) {
Object[] resultElement = new Object[mapping.getResults().size()];