If so, I would ask _which_ framework method _should_ trigger the retrieval of database information needed by both IDataProvider methods?  If I knew which of the two methods were called first – I could put the database query there.  Or, perhaps the database query should be triggered by some other framework method which is called before either of them.

you are meant to do two queries:

size() { return { select count(*) from blah } }

iterator(int first, int count) { return { select * from blah where rownum>=first and rownum<first+count }}

-Igor

Reply via email to