Thanks for your
timely answer!
It was very
helpful to us.
-----Original Message-----
From: lars.gersmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 6:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Paging result set with OQLhi,download the cvs version of castor.you will find 2 new methods absolute() and size() in class QueryResultswhich can be used to match your needs.there is a mail from ned wolpert which explains a little bit more about these functions.see http://www.mail-archive.com/[email protected]/ for details.i never used the methods, but i would be interested in getting feedback for usability/performanceespecially for method absolute().regards,
lars
-----Ursprüngliche Nachricht-----
Von: 원 태웅 [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 15. März 2002 06:00
An: [EMAIL PROTECTED]
Betreff: [castor-dev] Paging result set with OQLHi,I am new to Castor JDO and OQL and trying to build some pilotapplication. The application displays 10 query result in onepage. If I use JDBC directly, I would use absolute() to directlymove cursor to the position I want, or, use sub query.How can I implement that paging mechanism with JDO and OQL?Loading every query result object to collection would not be the answerbecause query can return unknown(possibly very large) number ofresult objects.Won, Taewoong
