On 02.05.11 15:44, "Charles Flond" <cfl...@jahia.com> wrote: >Now, I perform a JCR-SQL2 query like that : select * from [jnt:content] as >content where ISDESCENDANTNODE(content,'/sites/demo/home/maincontent/')
Don't use a query for this, but the navigational access: session.getNode("/sites/demo/home/maincontent/").getNodes() This gives you the order, will be faster & more efficient than a query. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel