jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jzitt...@adobe.com>
Subject Re: AW: Rather easy SQL2-query?
Date Fri, 11 Feb 2011 13:07:41 GMT
Hi,

On 02/11/2011 01:59 PM, Cech. Ulrich wrote:
> I missed to mentioned all the variation, which I tried in the "select
> clause", the one from you I tried before and get the following error:
> "This query result contains more than one selector"

That's most likely because you're using the QueryResult.getNodes() 
method with no argument. With a join query you need to specify the 
selector you're interested in as a parameter to the call. In this case 
it would be:

     NodeIterator nodes = result.getNodes("f");

-- 
Jukka Zitting

Mime
View raw message