public List queryForList(String id) throws SQLException {
return queryForList(id, null);
}
public PaginatedList queryForPaginatedList(final String id, final Object param, final int pageSize) throws SQLException {
final SqlMapExecutor self = this;
return (PaginatedList) transactionManager.doInTransaction(new TransactionScope() {
public Object execute(Transaction transaction) throws SQLException {
return new PaginatedDataList(self, id, wrapCollection(param), pageSize);
}
});