Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312090

Summary: Sorting options in the JPA structure and project explorer view
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P2 CC: neil.hauge
Version: 2.3   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard: EaseOfUse

Description Karen Butzke CLA 2010-05-07 11:44:54 EDT
In the JPA structure the sorting of entities/attributes is not deterministic.  We should have an option to sort alphabetically.  We could also group entities in packages in the orm.xml.  In the project explorer the orm.xml files need to be separate from the java files.

At the least we should be forcing a logical order, even better would be to let the user choose the order (alphabetical, same order as the file, group by packages).  We also need to decide where virtual attributes belong: interspersed with the specified attributes, after all specified attributes?  Also would those match the order of the underlying java file?
Comment 1 Neil Hauge CLA 2011-07-01 16:26:26 EDT
Moving JPA specific bugs to new JPA component in bugzilla.