You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "David Garcia (JIRA)" <ji...@apache.org> on 2007/07/02 09:11:04 UTC

[jira] Created: (JCR-994) Support XPath union operator in queries (both SQL and XPath)

Support XPath union operator in queries (both SQL and XPath)
------------------------------------------------------------

                 Key: JCR-994
                 URL: https://issues.apache.org/jira/browse/JCR-994
             Project: Jackrabbit
          Issue Type: Improvement
          Components: query
    Affects Versions: 1.3
            Reporter: David Garcia
            Priority: Minor


For example, the following query:
   SELECT * FROM nt:base WHERE jcr:path = '/jcr:root/a/b/c/d' OR jcr:path = '/jcr:root/a/e/f'
will fail with the following exception:
   javax.jcr.query.InvalidQueryException: Invalid combination of jcr:path clauses

Please see also:
http://mail-archives.apache.org/mod_mbox/jackrabbit-dev/200604.mbox/%3C44523C57.2030603@gmx.net%3E

And:
http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/6476

Regards,
   David


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.