Sorry I let this slip by.
 
I don't think that the startat/endat has been implemented for report queries yet.
 
I will take a look at it.

-----Original Message-----
From: Chiah Tong Kiat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 29, 2003 4:02 AM
To: OJB Users List
Subject: using setStartAtIndex and setEndAtIndex for ReportQuery



Hi 

 

I'm trying to use start and end index for at the reportquery.  However, even though 
I'm setting the start and end index, ojb is return me the full resultset.

 

ReportQueryByCriteria query =  QueryFactory.newReportQuery(someclass.class, crit);

query.setColumns(array of columns);

query.setStartAtIndex(startIndex);

query.setEndAtIndex(stopIndex);

Iterator iter = broker.getReportQueryIteratorByQuery(query);

while (iter.hasNext())

{

   // print results

}

 

however the above code is not working is not working.  Is there anyway of using 
reportquery with start and end index?

 

 

TIA

kiat

 

Reply via email to