This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 367452 - JPA 2.1 Joins with ON clause
Summary: JPA 2.1 Joins with ON clause
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
: 384852 (view as bug list)
Depends on:
Blocks: 338610
  Show dependency tree
 
Reported: 2011-12-22 13:49 EST by Gordon Yorke CLA
Modified: 2022-06-09 10:19 EDT (History)
3 users (show)

See Also:


Attachments
proposed changes to add criteria api support (22.66 KB, patch)
2012-09-21 12:47 EDT, Chris Delahunt CLA
no flags Details | Diff
addition to the first fix (22.30 KB, patch)
2012-10-01 12:38 EDT, Chris Delahunt CLA
no flags Details | Diff
addition to prior fix to extend 'on' support to joins over collections (10.45 KB, patch)
2012-11-02 14:56 EDT, Chris Delahunt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Yorke CLA 2011-12-22 13:49:32 EST
In JSR 338 the JPA specification will add support for specifying an "ON" clause within the JOIN clause of a JPQL statement.  This bug will be tracking the work needed to support this JPQL feature.

Much of the work has been completed through a related bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=312146
Comment 1 Gordon Yorke CLA 2011-12-22 13:50:01 EST
Design documentation can be found at http://wiki.eclipse.org/EclipseLink/DesignDocs/367452
Comment 2 Gordon Yorke CLA 2012-03-13 15:09:12 EDT
The specification has also added APIs to the Criteria API support the ON clause.  Criteria API implementation should be part of this feature.
Comment 3 James Sutherland CLA 2012-04-11 10:46:32 EDT
JPQL support added, Criteria API still required.
Comment 4 Chris Delahunt CLA 2012-09-21 12:47:50 EDT
Created attachment 221353 [details]
proposed changes to add criteria api support
Comment 5 Chris Delahunt CLA 2012-10-01 12:38:37 EDT
Created attachment 221730 [details]
addition to the first fix
Comment 6 Chris Delahunt CLA 2012-10-01 15:40:42 EDT
Criteria API support checked in
Comment 7 Chris Delahunt CLA 2012-11-02 14:56:07 EDT
Created attachment 223131 [details]
addition to prior fix to extend 'on' support to joins over collections
Comment 8 Chris Delahunt CLA 2012-11-21 14:36:24 EST
*** Bug 384852 has been marked as a duplicate of this bug. ***
Comment 9 Gordon Yorke CLA 2012-12-17 14:48:16 EST
Specification has been updated to disallow FETCH JOINs with ON clause and '.' joins within the ON clause.

Final update to the spec should be reviewed prior to making any updates.
Comment 10 Chris Delahunt CLA 2013-04-03 11:56:21 EDT
No additional changes from the prior check in are required.
Comment 11 Eclipse Webmaster CLA 2022-06-09 10:19:11 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink