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

Bug 357407

Summary: composite foreign keys are defaulted wrong in OneToOne, ManyToOne
Product: z_Archived Reporter: James Sutherland <jamesssss>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: michael.f.obrien, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description James Sutherland CLA 2011-09-12 14:59:22 EDT
If you have a OneToOne say manager to Employee with Id ID

 then we correctly default the foreign key to MANAGER_ID,

but if you have a composite Id, ID, ID2, then we default wrong,

  ID, ID2

we omit the prefix, which will not work
Comment 1 Tom Ware CLA 2011-10-13 13:26:48 EDT
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:32:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink