DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-414
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Generic compilation : Compilation of JPQL "FROM" expression puts joined to info in single sub-node but should chain them

Created: 21/Oct/09 09:45 AM   Updated: 23/Oct/09 04:07 PM   Resolved: 21/Oct/09 09:50 AM
Component/s: Queries
Affects Version/s: 2.0.0.m1, 2.0.0.m2
Fix Version/s: 2.0.0.m3


 Description  « Hide
If we have
SELECT DISTINCT Object(c) FROM Customer c, IN(c.home.phones) p

the second part of the FROM should be resolved to be
[OPERATOR : JOIN_INNER
    [IDENTIFIER : c.
        [IDENTIFIER : home.
            [IDENTIFIER : phones]]],
    [NAME : p]

but is generating
[OPERATOR : JOIN_INNER
    [IDENTIFIER : c.
        [IDENTIFIER : home.phones]],
    [NAME : p]

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 21/Oct/09 09:50 AM
SVN trunk fixes this