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

Bug 314922

Summary: quick fix for generating an IdClass or picking existing one
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: neil.hauge
Version: 2.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2010-05-28 13:47:32 EDT
On the error 'This class has a composite primary key. It must use an ID class' we could have a quick for generating an IdClass or picking an existing one.

The JPA details could also include a way to create an IdClass instead of just creating a plain Java class as the Id Class link does not.  We could automatically generate attributes that correspond to the IDs on the entity.
Comment 1 Neil Hauge CLA 2011-07-01 16:27:01 EDT
Moving JPA specific bugs to new JPA component in bugzilla.