Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2783

ModeShape query isn't retaining quotes defined for column in NIS

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.4.1
    • Misc. Connectors
    • None

      Issuing query:

      SELECT jcr_name FROM nt_base AS children WHERE JCR_ISCHILDNODE(children.jcr_path, '/pathtoparent')

      produces exception:

      Caused by: javax.jcr.query.InvalidQueryException: The JCR-SQL2 query "SELECT g_0.jcr:name FROM "nt:base" AS g_0 WHERE ISCHILDNODE(g_0.jcr:path, '/pathtoparent')" is not well-formed: Expecting "FROM" but found ":" at line 1, column 15: SELECT g_0.jcr ===>> :name FROM "nt:base"
      at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:146)
      at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:101)

            [TEIID-2783] ModeShape query isn't retaining quotes defined for column in NIS

            asmigala@redhat.com changed the Status of bug 1045206 from ON_QA to ASSIGNED

            RH Bugzilla Integration added a comment - asmigala@redhat.com changed the Status of bug 1045206 from ON_QA to ASSIGNED

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from MODIFIED to ON_QA

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from MODIFIED to ON_QA

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from NEW to MODIFIED

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from NEW to MODIFIED

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from ASSIGNED to NEW

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from ASSIGNED to NEW

            This is not an issue. It was an issue in how it was modeled.

            Van Halbert (Inactive) added a comment - This is not an issue. It was an issue in how it was modeled.

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from NEW to ASSIGNED

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1045206 from NEW to ASSIGNED

              van.halbert Van Halbert (Inactive)
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: