Community
Participate
Working Groups
EclipseLink seems to fail to detect upon flush or commit if an entity has a relationship to a removed entity. According to ยง 3.2.4 "Synchronization to the Database" such a relationship should either cause the flush operation to fail with an IllegalStateException or a subsequent commit to fail.
The issue is reproduced by the tests jpa/eclipselink.jpa.wdf.test: org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager.TestFlush - testRelationshipToRemoved - testRelationshipToRemovedLazy
Setting initial target and priority. Feel free to alter these values if you are planning on investigating this issue, or to send some comments about these values either by updating this bug, or emailing me.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink