final TableModel reportData = dataFactory.queryData
(query, new QueryDataRowWrapper(parameters, queryLimit, queryTimeout));
if (queryLimit > 0 && reportData.getRowCount() > queryLimit)
{
return new ReportDataRow(new LengthLimitingTableModel(reportData, queryLimit));
}
return new ReportDataRow(reportData);
}