Thanks!!! Currently I'm written a hack solution which exposes the OJBIterator out. It's a ugle solution. If there is a better way of doing so ?
regards Tong Kiat -----Original Message----- From: "Matthew Baird" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Date: Wed, 2 Jul 2003 16:32:30 -0700 Subject: RE: using setStartAtIndex and setEndAtIndex for ReportQuery > 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 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
