Hi,
I want to do something like 'Give me the first twenty entries from mytable
and tell me if there are any more entries, or better: additionally tell me
how
many entries there are in the table. If possible, all of this with only one
criteria (one select, one db-connection, well, in the end as fast as
possible)'.

Just now, I don't even know how to get the number of entries without
reading all the entries. Something like:
ItemPeer.doSelect(new Criteria()).size();

Any ideas?
bye,
michael


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to