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: New Feature New Feature
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 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

Sort Order: Ascending order - Click to sort in descending order
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