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

Bug 131103

Summary: Provide New Entity Wizard
Product: [WebTools] Dali JPA Tools Reporter: Neil Hauge <neil.hauge>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P4 CC: gunnar
Version: 1.0Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Neil Hauge CLA 2006-03-09 10:26:14 EST
The New Entity Wizard could be enhanced to allow generation and configuration of the following items:

- @Table
- @Id
- @Version
- @SequenceGenerator or @TableGenerator

Please use this ER to discuss any other possible enhancements to the wizard.
Comment 1 Karen Butzke CLA 2006-06-02 10:15:03 EDT
At the least, we need to allow the user to create an Entity that doesn't have any errors(maybe table/column not on database are ok).  Name an id field, getters and setters for it, and whether they want the @Id annotation to appear on the field or the method.  Could also add the @GeneratedValue annotation to it.
Comment 2 Neil Hauge CLA 2007-08-28 09:40:58 EDT
Updating this ER to reflect the current situation.  As of 1.0, there is no New Entity Wizard.  

I'm not sure how useful a New Entity Wizard is, given that there isn't much we can do before attributes are defined for a class.  It is questionable how involved we would want to get in defining the class.  This might be better left for adopters to build for there own specific uses.
Comment 3 Neil Hauge CLA 2008-04-07 11:21:56 EDT

*** This bug has been marked as a duplicate of bug 216450 ***