Community
Participate
Working Groups
A node in the commit order calculation is only visited once. Should a descriptor be referenced by multiple Classes it may not have it's commit order updated in relation to the second reference resulting in incorrect commit order for some of the objects resulting in failed deletes.
Created attachment 171570 [details] Potential Patch The attachment contains proposed updates to improve the commit order calculation
I have been unable to recreate this issue in a way that does not also depend on a solution for bug 330580. Please post a recreation if you can think of one. I will attach the object model I have that comes the closest.
Created attachment 183395 [details] Recreation of problem Attaching a zip file that recreates the problem. To fix the issue, for this recreation in a general way, the fixes for bug 330580 and bug 315141 will be reqquired. To run the recreation, import the project into an Eclipse workspace that contains the EclipseLInk development Eclipse projects and alter the persistence.xml to point at your DB.
FYI: recreation has been attached for informational purposes only, a recreation of this issue that does show other issues as well is still required.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink