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: AW: Support for NOT LIKE in queries ?
Date Wed, 21 Mar 2007 09:54:27 GMT
KÖLL Claus wrote:
> I have found this mail and i have the same issue.
> The behaviour is exactly what greg wrote.
> Are there plans to support it?

I am not in favor of supporting this, because it cannot be translated into an 
equivalent XPath query. but I think there's an enhancement coming along in jsr 
283, which will allow you to specify a query that achieves the same:

/jcr:root/*[jcr:name() != 'baz']//element(*, foo:bar)

jcr:name() returns the name of the node as returned by Node.getName().


View raw message