jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Eggerling-Boeck" <paulbo...@yahoo.com>
Subject Re: jcr:contains question
Date Mon, 26 Feb 2007 15:38:41 GMT
Thanks all.  I was using the SQL wildcard '%' with the XPATH query.
Works much better with '*'.

On 2/26/07, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
> Paul Eggerling-Boeck wrote:
> > BTW, I tried jcr:like with wildcards and that did not work any better,
> > plus had the additional problem of being case sensitive.
>
> as of version 1.2.1 jackrabbit also support the function fn:lower-case in
> combination with jcr:like():
>
> //entry[jcr:like(fn:lower-case(@MyProperty),'my%')]
>
> regards
>  marcel
>

Mime
View raw message