jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-2923) SQL2 parser: improved error message for ambiguous properties in joins
Date Mon, 21 Mar 2011 09:55:05 GMT

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

Thomas Mueller updated JCR-2923:
--------------------------------

          Component/s: jackrabbit-jcr-commons
             Priority: Minor  (was: Major)
    Affects Version/s: 2.0.0
        Fix Version/s: 2.3.0

> SQL2 parser: improved error message for ambiguous properties in joins
> ---------------------------------------------------------------------
>
>                 Key: JCR-2923
>                 URL: https://issues.apache.org/jira/browse/JCR-2923
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.0.0
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> For queries of the form:
> select id from parent inner join child on parent.id=child.parentid
> the SQL2 parser currently only returns a generic error message "This query result contains
more than one selector". 
> The error message should point to the problematic token: 
> Query: select id(*)from parent inner join child on parent.id=child.parentid; expected:
Need to specify the selector name for "id" because the query contains more than one selector.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message