Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314922 - quick fix for generating an IdClass or picking existing one
Summary: quick fix for generating an IdClass or picking existing one
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 13:47 EDT by Karen Butzke CLA
Modified: 2013-09-06 15:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.