Hi Felix,

I've implemented paged queries using Cayenne and
Wicket.

As I recall you have to implement a "dataprovider" that
will run the query every time the page is rendered. The
objects that are serialized into the page must be small
(per design).

The dataprovider implements sorted, paged queries.

This worked well for a database with 100k's of records
and where I re-ran the query every time the user typed
a new char into a text field to narrow down the search
(including a back-off algorithm supported by the framework).


-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

Reply via email to