Bug 173517

Summary: entity generation - generate additional useful constructor
Product: [WebTools] Dali JPA Tools Reporter: Tom Mutdosch <mutdosch>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 Keywords: helpwanted
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tom Mutdosch CLA 2007-02-08 14:15:06 EST
In addition to the default constructors, it might be nice to be able to generate a constructor that takes in the primary key values since they always need set anyway. Also helpful could be a constructor that takes in all values for required non-null columns.  These are just 'niceties', but I think they can really help the user experience.  What's the first thing you need to do when creating a new instance of an Entity?  Set the primary key.  It'd be nice to just see it in the context assist for the constructor; then you don't even need to look at the entity to see what the primary key is - you could tell just by what argument(s) the constructor takes in.
Comment 1 Neil Hauge CLA 2011-07-01 16:26:02 EDT
Moving JPA specific bugs to new JPA component in bugzilla.