Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-994

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3
    • None
    • jackrabbit-core, query
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dav.garcia David Garcia
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: