Vijay Kumar j created OAK-1829:
----------------------------------

             Summary: IllegalStateException while trying retrieve rows 
information from QueryResult 
                 Key: OAK-1829
                 URL: https://issues.apache.org/jira/browse/OAK-1829
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: query
    Affects Versions: 0.20
            Reporter: Vijay Kumar j


if query contain lowerCase on array property then QueryResult.getRows() 
throwing  IllegalStateException.

Query which causing issue

 select [selector_1].* from [nt:unstructured] AS [selector_1] where 
(([selector_1].[lcc:className] = 
'com.adobe.icc.dbforms.obj.ConditionalDataModule')) AND 
(LOWER([selector_1].[dataDictionaryRefs]) = 'employeedd')

If we remove LOWER function then it is working 

 select [selector_1].* from [nt:unstructured] AS [selector_1] where 
(([selector_1].[lcc:className] = 
'com.adobe.icc.dbforms.obj.ConditionalDataModule')) AND 
([selector_1].[dataDictionaryRefs] = 'EmployeeDD')



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

Reply via email to