jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Searching on "jcr:name" property doest'nt work?
Date Tue, 05 Jun 2007 10:07:40 GMT
gsoap wrote:
> Hi,
> Why searching on "jcr:name" property doest'nt work?

What are you searching for? As far as I can tell, jcr:name is only 
defined on node and property definitions (when exposed under 

> What is wrong with following statement?
> SELECT * FROM nt:base WHERE jcr:name = 'abc'

If you're looking for nodes where the last part of the path is "abc", 
you'll need


or in SQL:

	SELECT * FROM nt:base WHERE (jcr:path LIKE '/%/abc[%]' OR jcr:path LIKE 

is your friend.)

Best regards, Julian

View raw message