Hi Alex, It works perfectly ! Thanks for your help.
Charles On Mon, May 2, 2011 at 3:57 PM, Alexander Klimetschek <[email protected]>wrote: > On 02.05.11 15:44, "Charles Flond" <[email protected]> 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 > > > > >
