DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

Delete of objects from Map should flush any objects that need deleting first, to avoid potential reordering

Created: 03/Dec/13 11:52 AM   Updated: 10/Dec/13 10:24 AM   Resolved: 03/Dec/13 12:00 PM
Component/s: ORM
Affects Version/s: None
Fix Version/s: 3.2.9

 Description  « Hide
When we delete entries from a map there is the potential (when using optimistic txns) for some statements to get reordered due to the order in which objects were encountered by the PM/EM. In the remove situation where we have FKs we should flush the ObjectProvider of the object that needs deleting first to guarantee the required behaviour

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 03/Dec/13 12:00 PM - edited
SVN trunk fixes this for FKMapStore (where the problem was showing up)