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: String property to Long
Date Fri, 28 Sep 2007 15:58:59 GMT
Lorenzo Dini wrote:
> Is there any way to convert a string property as a long when specyfing a 
> filter in a XPATH Query??
> 
> Something like
> 
> /jcr:root/test:nodes[xs:long(@test:property) >= 45]

no, this is not supported, because it requires a complete scan over all 
@test:property values. did you consider migrating the property to a long type?

regards
  marcel

Mime
View raw message