Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317230 - PK ordering on 1-m does not appear in virtual orm.xml mapping
Summary: PK ordering on 1-m does not appear in virtual orm.xml mapping
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 14:29 EDT by Karen Butzke CLA
Modified: 2011-05-03 18:04 EDT (History)
1 user (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 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.