Issue Details (XML | Word | Printable)

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

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

Map<Key, Value> where formed with FK, with value stored in key doesn't handle clear/remove correctly

Created: 31/Aug/11 10:33 AM   Updated: 03/Oct/11 07:38 AM   Resolved: 31/Aug/11 12:11 PM
Component/s: ORM
Affects Version/s: 2.0.5, 2.1.4, 2.2.4, 3.0.0.release
Fix Version/s: 3.0.2

 Description  « Hide
Has never worked properly (just review the RDBMSFKMapStore code) but not shown up by any current testcase

Andy Jefferson added a comment - 31/Aug/11 12:11 PM
SVN trunk now does as follows

key stored in value:
if value dependent -> delete value
else if owner mapping nullable -> null owner FK in value
else delete value
if key dependent
-> if not deleting value -> null key FK in value
delete key

and value stored in key: as above except swap key<->value

Andy Jefferson made changes - 31/Aug/11 12:11 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.0.2 [ 11310 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 03/Oct/11 07:38 AM
Status Resolved [ 5 ] Closed [ 6 ]