| Summary: | Incorrectly enabled converter widgets in virtual orm.xml attribute | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> | ||||
| Component: | General | Assignee: | Pascal Filion <pascal.filion> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jolene.moffitt, neil.hauge, paul.fullbright | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | 3.0.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 195860 [details]
Fix for bug
The check for the content type was always done using the content type for orm.xml. The fix is to ask the subclass for the content type. JavaEclipseLinkPersistentAttribute will return the proper content type and the pane will be enabled/disabled correctly.
This should be fixed with the fix for bug 346535 fixed along with bug 346535 in rc3 Verified in Build I-3.4.0-20110805150738 Verified converter widget shows correctly in orm.xml. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1 |
In java I have a custom converter set and the entity is overriden in orm.xml. If you select the implied attribute in the orm.xml and look at the JPA details view you'll notice that the 'Converted' radio button is selected and greyed out, but the 'Converter name:' combo box and 'Define Converter' radio buttons are enabled. If you use these enabled widgets then the java source gets modified. @Convert("sex") private Gender gender;