Community
Participate
Working Groups
1-1, m-m, and 1-m all support mappedBy, we now must add dot notation support for the case where the mapped by is in an embedded. @Entity public class Employee { @Id int id; @Embedded JobInfo jobInfo; ... } @Embeddable public class JobInfo { String jobDescription; @ManyToOne ProgramManager pm; // Bidirectional } @Entity public class ProgramManager { @Id int id; @OneToMany(mappedBy="jobInfo.pm") Collection<Employee> manages; }
fixed in M3