Community
Participate
Working Groups
In the JPA Diagram Editor, changing the default name of an Entity created in the editor results in the refactoring of the class and addition of a name property on the @Entity annotation that matches the default which is the class short name. E.g., @Entity(name = "Foo") public class Foo { Mapping values should only be specified when they are non-default unless explicitly set by the user.
Created attachment 187631 [details] patch
Patch committed ...
The fix was submitted in the timeframe of M5, but the JPA Diagram Editor wasn't integrated in PDE build of WTP before the M5 release date, so I'm retargeting this bug to M6.
Verified in Build I-3.3.0-20110414085808 Verified when you rename the entity that after refactor the entity name and public class names are not both created. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0_M6