Issue Details (XML | Word | Printable)

Key: NUCRDBMS-624
Type: Improvement Improvement
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

Insert of element into a (FK) List causes shift of all elements after it; make the shift statements batched

Created: 26/Nov/12 03:10 PM   Updated: 31/Dec/12 07:59 PM   Resolved: 26/Nov/12 03:12 PM
Component/s: Connection
Affects Version/s: None
Fix Version/s: 3.2.0.m2


 Description  « Hide
When we have a List field and insert an element at the start it will perform the following
1. Insert the new element
2. Shift the index value by 1 of all elements of the List from the inserted position
3. Set the new element List position

Step 2 should use batched statements (where supported by the RDBMS) but currently doesn't

Andy Jefferson added a comment - 26/Nov/12 03:12 PM
SVN trunk makes this change

Andy Jefferson made changes - 26/Nov/12 03:12 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.2.0.m2 [ 11788 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 31/Dec/12 07:59 PM
Status Resolved [ 5 ] Closed [ 6 ]