Issue Details (XML | Word | Printable)

Key: NUCMONGODB-21
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Support persistence of embedded (nested) Maps

Created: 13/Feb/11 05:06 PM   Updated: 07/Mar/11 05:36 PM   Resolved: 13/Feb/11 08:47 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0.m2


 Description  « Hide
While there is no native "map" construct in JSON documents, we can simulate it by storing a map as an array of entries, with each entry having a "key" and "value" field with those being nested (if persistable), or just the value (if non-persistable). This then (potentially) provides us a way to query maps

Andy Jefferson added a comment - 13/Feb/11 08:47 PM
SVN trunk now adds an array of "entry" objects each with "key","value" fields and this provides the (nested) embedding mechanism

Andy Jefferson made changes - 13/Feb/11 08:47 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.0.0.m2 [ 11162 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 07/Mar/11 05:36 PM
Status Resolved [ 5 ] Closed [ 6 ]