jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: document order related questions
Date Wed, 04 Jul 2007 07:56:12 GMT
bilobag wrote:
> Does anyone know how to order a collection of child nodes by a specific
> property from the getNodes() call? or do i have to manually order the nodes
> using java?  Please let me know if you have any ideas.  Is there a way to
> query just for a parents child nodes and put an order by clause in the
> query?


/jcr:root/foo/bar/* order by @prop

but depending on the number of nodes, manually ordering them might be more
efficient than executing a query.


View raw message