DbRowBuilder rowBuilder = DbRowUtils.newDbRow();
for (int i = 1; i <= rsmd.getColumnCount(); i++) {
rowBuilder.addValue(rsmd.getColumnName(i), rsmd.getColumnType(i), this.processValue(rs.getObject(i)));
}
dbRows.addRow(rowBuilder.getRow());
}
// Set base row if query yielded no rows
if (dbRows.getRowCount() == 0) {
DbRowBuilder rowBuilder = DbRowUtils.newDbRow();