Community
Participate
Working Groups
In JPA 2.0 One-to-Many unidir relationships are supposed to have additional annotation @JoinColumn(s) of the relationship mapping attribute. (This way the DB tables will be generated without additional join table.) The old style rels are still supported for backward compatibility. The natural behavior of the editor (in JPA 2.0 projects) is to create One-to-Many unidir rel with @JoinColumn(s). Nevertheless we'd like to leave the user with an option here: There should be a checkbox in the editor pref/prop page which allows the user (if she checks is) to create an old style (JPA 1.0) One-to-Many unidir rels (in JPA 2.0 projects), i.e. - if this checkbox is checked the new 1-N unidir rels will be created without @JoinColumn(s)
Created attachment 189920 [details] patch
Created attachment 189924 [details] patch v2 Fixes 'non-externalized string' warnings
Patch committed ...
Verified in Build I-3.3.0-20110414085808 Verified checkbox appears in the properties. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0_M6