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

Bug 317230

Summary: PK ordering on 1-m does not appear in virtual orm.xml mapping
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 2.3   
Target Milestone: 3.0 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2010-06-17 14:29:33 EDT
Given the following example looks at the employees virtual mapping in the JPA Details view of the orm.xml. Notice that Ordering 'None' radio button is selected instead of 'Primary key'

@Entity
public class EmployeeHistory {
    @OneToMany
    @OrderBy
    private Collection<Employee> employees;
}

<entity class="model.EmployeeHistory">
</entity>
Comment 1 Neil Hauge CLA 2011-05-03 18:04:00 EDT
Can no longer reproduce this.  Was likely fixed as a result of Brian's M5 refactoring that changed how virtuals are handled.