Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.4.2
-
XWiki 7.4.2, Debian Jessie, PostgreSQL, Tomcat 8, Openjre 8
-
Unknown
-
N/A
-
N/A
-
Description
I have been trying to use XWQL with REST as per the following thread:
http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-td7599586.html
As per the concluding comment from Marius:
You are not allowed to use full statements
(i.e. that start with 'select'). You have to use instead:
, <additional FROM clause> where ...
or
where ...
Unfortunately using a short query is not enough for XWQL. It seems the code
doesn't do anything special for XWQL query type and it treats it as HQL. So
for now you'll have to rely on HQL.