Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3855

Unable to get response for jcr-sql 2 queries via rest service calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Samples
    • None

    Description

      Unable to get response for jcr-sql 2 queries via rest service calls in launchpad 6

      Example ,
      http://localhost:8081/content.query.json?queryType=sql&statement=select * from nt:base
      provides the json result that is expected

      but

      http://localhost:8081/content.query.json?queryType=jcr_sql2&statement=select * from [nt:base]

      provides an empty response

      Is the syntax wrong, is the query type jcr_sql2 a valid parameter,if not what is the correct syntax.. unable to find any sample or documentation

      Attachments

        Activity

          People

            Unassigned Unassigned
            vela4frds vela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: