jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Search doubt
Date Mon, 05 Nov 2007 09:44:16 GMT
hsp_ wrote:
> Hi, is there some way to do a search that brings me all the nodes that refers
> to a node or some node below it in path? (xpath and sql if possible)
> 
> nodes referenceables:
> - nodeR1
>    |_ nodeR2
>         |_ nodeR3
> 
> nodes to search:
> 
> - nodeX (prop:x refers to nodeR1)
> - nodeY (prop:x refers to nodeR3)

no, this is not possible, but you can simply use the JCR API to get the 
properties that e.g. reference NodeR1 or nodeR3:

Node.getReferences()

regards
  marcel


Mime
View raw message