Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367452

Summary: JPA 2.1 Joins with ON clause
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: erick, jamesssss, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.eclipse.org/EclipseLink/DesignDocs/367452
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=312146
Whiteboard:
Bug Depends on:    
Bug Blocks: 338610    
Attachments:
Description Flags
proposed changes to add criteria api support
none
addition to the first fix
none
addition to prior fix to extend 'on' support to joins over collections none

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