Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 297867 - Order column section is editable after removing an attribute from orm.xml
Summary: Order column section is editable after removing an attribute from orm.xml
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.3 M2   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 11:53 EST by Karen Butzke CLA
Modified: 2012-10-09 11:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2009-12-15 11:53:53 EST
Create a JPA 2.0 generic project and add a 1-m mapping with an OrderColumn(name="foo") to the java.  In the orm.xml add the entity and then choose to add the same 1-m mapping to the orm.xml.  Expand the Order column 'Details' section.   Now remove the attribute from the orm.xml and view the Order Column section in the JPA Details view and notice that it is still editable.  Editing this throws UnsupportedOperationExceptions
Comment 1 Karen Butzke CLA 2010-05-14 10:26:47 EDT
On basic mappings optional and fetch are not defaulting in to the orm.xml or eclipselink-orm.xml mappings files.
Comment 2 Neil Hauge CLA 2011-07-01 16:26:58 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 3 Karen Butzke CLA 2012-07-10 10:10:23 EDT
This has been fixed with my Pane enablement changes
Comment 4 Jolene Moffitt CLA 2012-10-09 11:22:13 EDT
Verified in build I-3.5.0-20121003040013 that when you remove an attribute from orm.xml the order column section is no longer editable.  To view steps for testing go to http://wiki.eclipse.org/Dali_3.3_M2_Release