Issue Details (XML | Word | Printable)

Key: NUCRDBMS-714
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Andy Jefferson added a comment - 03/Dec/13 12:00 PM - edited
SVN trunk fixes this for FKMapStore (where the problem was showing up)

Andy Jefferson made changes - 03/Dec/13 12:00 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 10/Dec/13 10:24 AM
Status Resolved [ 5 ] Closed [ 6 ]