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: NUCJPA-252
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Support multi-field JOIN syntax in JPQL FROM clause

Created: 18/Oct/13 11:11 AM   Updated: 23/Oct/13 11:56 AM   Resolved: 18/Oct/13 12:05 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.6, 3.3.3

 Description  « Hide
While we currently allow joining across a single field in the FROM clause, we could also support joining across multiple fields. For example the following is supported
SELECT Object(G) FROM UserGroup G INNER JOIN G.members M

and the following is not supported
SELECT Object(G) FROM UserGroup G INNER JOIN G.members.details D

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 18/Oct/13 12:05 PM
SVN trunk and branches/3.2 handle this now (core 3.2.8+, store.rdbms 3.2.7+)