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: Querying for bean references
Date Tue, 14 Jul 2009 14:40:30 GMT
Hi Nigel,
This kind of query (based on Bean fields) is not yet supported in OCM.

Christophe


2009/7/14 Nigel Sim <nigel.sim@gmail.com>

> Hi,
>
> I would like to compose a query to find all nodes which have a reference to
> another bean. ie:
> Class Image:
>  Camera camera
>  InputStream data
>
> Class Camera:
>  String someInfo
>  String type
>
> So I would like to find all Image where camera is camera (or camera uuid).
> I'm using the OCM bindings, and query language.
>
> The follow on question is, can I do joins, like find all images where the
> camera type = X
>
> I've looked through the docs and API as best as I could, and I feel that
> the
> JCR Expression might be what I need, but I didn't find any specific
> documentation on this feature.
>
> Cheers
> Nigel
>

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