Emmanuel Bernard commented on Bug OGM-208

Well @elementCollection and @Embedded means all the data is embedded in the document including the embeddable object properties.

In @ManyToMany @EmbeddedInDocument, only the list of identifiers (and index/key) are stored in the document. It makes sense to embed them unless the collection is starting to be really big and would hurt the entity loading performance or reach the MongoDB document size limit

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira