jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2849) Make QueryResult.getNodes() work also for certain join queries
Date Fri, 17 Dec 2010 11:27:00 GMT
Make QueryResult.getNodes() work also for certain join queries
--------------------------------------------------------------

                 Key: JCR-2849
                 URL: https://issues.apache.org/jira/browse/JCR-2849
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core, query
            Reporter: Jukka Zitting
            Priority: Minor


There are some people who are relying on the pre- JCR-2715 behaviour where a QueryResult.getNodes()
will return a node iterator for one selector of a join query even if the JCR 2.0 spec explicitly
says that the method should throw a RepositoryException in such cases.

For convenience and to avoid breaking such code, we might want to make the getNodes() method
work at least for inner joins (i.e. no null nodes possible) where the SELECT clause contains
just a single selector.* entry that identifies the selector that the client is interested
in.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message