}
@SuppressWarnings("unchecked")
public TablePage getTablePage(TablePageQueryImpl tablePageQuery, int firstResult, int maxResults) {
TablePage tablePage = new TablePage();
@SuppressWarnings("rawtypes")
List tableData = getDbSqlSession().getSqlSession()
.selectList("selectTableData", tablePageQuery, new RowBounds(firstResult, maxResults));
tablePage.setTableName(tablePageQuery.getTableName());
tablePage.setTotal(getTableCount(tablePageQuery.getTableName()));
tablePage.setRows((List<Map<String,Object>>)tableData);
tablePage.setFirstResult(firstResult);
return tablePage;
}