jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Efficient way of loading multiple properties of a node?
Date Tue, 24 Oct 2006 06:37:07 GMT
Stefan Guggisberg schrieb:
> On 10/20/06, Marcel May <marcel.may@consol.de> wrote:
>> Hash: SHA384
>> Hi!
>> I'm wondering if there is an efficient way of loading all the
>> properties of a node?
>> When iterating over the properties of a node, it seems that each
>> property is fetched lazily, right?
> that depends on the current state of the several caches and the
> implementation of the persistence manager.
> i.e. it's an implementation detail and nothing to be concerned
> with when writing an application using the JCR api.
> cheers
> stefan

That's just one way to see it.

In my experience with APIs, it's a good thing when several related calls 
can be grouped into a single one for performance. Your store may not be 
local after all.

Best regards, Julian

View raw message