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 embedded 1-1/N-1 fields as nested document

Created: 08/Feb/11 09:27 AM   Updated: 07/Mar/11 05:36 PM   Resolved: 08/Feb/11 12:53 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0.m2

 Description  « Hide
The current embedded 1-1/N-1 field is handled as flat embedding, where each field of the embedded object becomes a field of the owner document. We can also support nested documents in MongoDB, whereby the embedded object is its own document in the datastore within the owner document.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 08/Feb/11 12:53 PM
SVN trunk allows either nested or flat embedding of 1-1/N-1 fields. The default is now nested, but you can have flat embedding by putting the metadata extension "nested" as "false"