[ 
https://issues.apache.org/jira/browse/SLING-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

vela updated SLING-3855:
------------------------

    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


  was:
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
provide 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



> Unable to get response for jcr-sql 2 queries via rest service calls
> -------------------------------------------------------------------
>
>                 Key: SLING-3855
>                 URL: https://issues.apache.org/jira/browse/SLING-3855
>             Project: Sling
>          Issue Type: Bug
>          Components: Samples, Sling Query
>            Reporter: vela
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to