Hi Nigel,
This kind of query (based on Bean fields) is not yet supported in OCM.

Christophe


2009/7/14 Nigel Sim <[email protected]>

> 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
>

Reply via email to