Emmanuel Bernard commented on Improvement OGM-173

There are two steps to solve this problem:

1. make sure OGM provides the right column names via the GridDialect
2. make sure MongoDB filter the columns

In the plain association case of mongodb, I agree with what you said. But when the association is embedded int he owner's entity document, then you need to filter by the collection role to get what you want.

Does that make sense?

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