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 an sql query and ORDER BY
Date Wed, 07 May 2008 14:13:54 GMT
Conoly, Brett wrote:
> My biggest question is, can you override properties like this to force
> it to be orderable?

you can order nodes by any property. you don't have to configure it somewhere.

because JCR also knows residual property definitions, you can even create a 
statement that orders by a property that does not (currently) exist. doing so 
will simply return the nodes in arbitrary order.

> And if not, will that mix:orderable work to allow me
> to order it by the name or path?

no, name and path cannot be used in an order by. only real properties will work.


View raw message