Hi,
Should the class org.apache.ojb.broker.accesslayer.ReportQueryRsIterator
also set the cursor position
e.g. Like the code in
org.apache.ojb.broker.core.PersistenceBrokerImpl#getCollectionByQuery(Class
collectionClass, Class itemClass, Query query)
int startAt = query.getStartAtIndex();
int endAt = query.getEndAtIndex();
if (startAt > 1)
{
// needs to be just before startAt, as next() is called for
first result.
iter.absolute(startAt - 1);
}
if (endAt < startAt)
{
// BRJ : make sure endAt > startAt
endAt = iter.size() + 1;
}
at the moment report queries seems to be ignoring the startAt and endAt
values which have been set within a Query.
Regards
Dougall
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]