On Tue, Oct 25, 2011 at 5:02 PM, Jukka Zitting <[email protected]> wrote: > Hi, > > On Tue, Oct 25, 2011 at 4:25 PM, <[email protected]> wrote: >> How do I get the total size of nodes or rows with Jackrabbit 2.2.9? > > Use the getSize() method of the returned node or row iterator.
Wasn't a problem that if you do not use an order by clause and you did not iterate yet over the result set, that you get -1 ... I thought I saw something like that before. Regards Ard > > BR, > > Jukka Zitting > -- Amsterdam - Oosteinde 11, 1017 WT Amsterdam Boston - 1 Broadway, Cambridge, MA 02142 US +1 877 414 4776 (toll free) Europe +31(0)20 522 4466 www.onehippo.com
