> From: [EMAIL PROTECTED] > > I think there is a bug in class LargeSelect. > result set pagination cycles into the first memoryLimit block. > This is evident choosing memoryPageLimit=1 in LargeSelect constructor; > (by the way, method setMemoryPageLimit() does not works); in this > case, the page returned is alway the first. > In mehod getResults(int start, int size), fromIndex and toIndex > variables indicates results List portion to return as a page. > fromIndex is set to: > fromIndex = start - blockBegin; when block size is equal to > page size (memoryLimit == pageSize), fromIndex is always 0. > The page is always the same. > This would be correct if results List wolud contain ONLY block > results, but this is not true; results List contains all query > results, including current block.
I will look into these when I get a free moment. It would help greatly if you could provide some additional test cases that illustrate the problems and raise a defect issue in Scarab. Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
