cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arturo Perez <ape...@hayesinc.com>
Subject Re: setPageSize causes blowup?
Date Wed, 07 Jun 2006 21:45:25 GMT
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);



Mime
View raw message