jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart" <christophe.lomb...@gmail.com>
Subject Re: The Size of a Lazily Loaded Collection
Date Fri, 17 Oct 2008 08:02:33 GMT
On Fri, Oct 17, 2008 at 09:59, Boni Gopalan (BioImagene) <
Boni.G@bioimagene.com> wrote:

> I see jackrabbit-ocm testcase thatis seamlessly using this feature.
> Looks like there is something wrong in my testcase.


you mean something like : getCollection.getsize() ?

In this case, the collection is loaded.


>
>
> -----Original Message-----
> From: Boni Gopalan (BioImagene) [mailto:Boni.G@bioimagene.com]
> Sent: 17 October 2008 13:13
> To: users@jackrabbit.apache.org
> Subject: OCM:The Size of a Lazily Loaded Collection
>
> I have a requirement to know the size of a collection (List, Map) while
> fetching an object.  The <collection-descriptor> of these fields have
> 'proxy=true'.
>
>  How is it possible to find out the size it without iterating through
> the objects?
>
>
>
>
>
> Boni Gopalan
> Manager Engineering
> BioImagene, Pune
>
> +91-206-609-6579(O)
> +91-992-369-9356(C)
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message