Community
Participate
Working Groups
Given the following java class, add the EmployeeHistory entity to a 2.1 eclipselink-orm.xml file. Select the virtual employee 1-1 and notice that the orphan removal checkbox displays false. This is working in a 2.0 orm.xml file. @Entity public class EmployeeHistory { @OneToOne(orphanRemoval = true) private Employee employee; }
Set metadata-complete to true and cascade settings are incorrectly defaulting in to the orm.xml and eclipselink-orm.xml relationship mappings
The cascade issue is only for 1-1 mappings and you have to have an EclipseLink platform to see it.
Created attachment 172149 [details] proposed patch against head This patch includes a lot of new tests along with the fixes
resolved in HEAD for 2.3.1 maintenance
verified fixed in build wtp-sdk-M-3.2.1-20100717062943