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: Using jcr:path more than once in a query
Date Mon, 26 Nov 2007 08:13:28 GMT
sbarriba wrote:
> Has anyone hit issues with running a query like 
> 
> "select * from acme:Object where jcr:path LIKE '/home/folder1/%' or jcr:path
> LIKE '/home/folder2/%'"

jackrabbit does not support these kind of queries. Using SQL in jackrabbit you 
can basically restrict the scope to the descendants of a node or the children of 
a node.

regards
  marcel

Mime
View raw message