jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: Rather easy SQL2-query?
Date Mon, 14 Feb 2011 09:53:59 GMT
Hi,

>select f from [nt:unstructured] as x inner join [nt:file] as f on
>isdescendantnode(f, x)  WHERE(*)NAME([x]) = 'HAUPT'; expected: Need to
>specify the selector name because the query contains more than one
>selector.

The exception message is strange, I will change it to:

javax.jcr.query.InvalidQueryException: Query:
select f(*)from [nt:unstructured] as x inner join [nt:file] as f on
isdescendantnode(f, x)  WHERE NAME([x]) = 'HAUPT'; expected: Need to
specify the selector name for "f" because the query contains more than one
selector.


Regards,
Thomas


Mime
View raw message