This one time, at band camp, �� �¿� said:
>I am new to Castor JDO and OQL and trying to build some pilot
>application. The application displays 10 query result in one
>page. If I use JDBC directly, I would use absolute() to directly
>move 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 answer
>because query can return unknown(possibly very large) number of
>result objects.
It's not documented in the javadocs on the website yet, but in the
CVS tree, there is an absolute() method (see
org.exolab.castor.persist.QueryResults#absolute(int row)). There
is also a size() method that is not documented.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev