I couldn't reproduce the problem with the latest version of Cayenne.
Could you possibly upgrade to RC1 and see if this is still broken?
Andrus
On Jun 8, 2006, at 1:45 AM, Arturo Perez wrote:
Gentry, Michael (Contractor <michael_gentry <at> fanniemae.com>
writes:
Are you calling setPageSize() before or after the performQuery()?
The code snippet is
SelectQuery sq = new SelectQuery(XXX.class);
sq.setPageSize(ListSelectPager.LIST_SELECT_PAGE_SIZE);
return DataContext.getThreadDataContext().performQuery(sq);