jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Sim <nigel....@gmail.com>
Subject Querying for bean references
Date Tue, 14 Jul 2009 03:33:38 GMT
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