Emmanuel Bernard commented on Bug OGM-251
@ElementCollection()
public java.util.List<Context> getContext()
@Embeddable
public class Context implements java.io.Externalizable {
    private Type _type=Type.Conversation;
    private String _value=null;
    .....
    // suitable accessors and modifiers for these two fields
}

Leads to

{ "_id" : { "unitId" : "au1", "unitIndex" : 0 }, "context" : [    {    "context.collection&&element.type" : 2,    "context.collection&&element.value" : "corr1" },    {    "context.collection&&element.type" : 0,    "context.collection&&element.value" : "12345" } ], "properties" : [    {    "name" : "customer",    "value" : "Fred" },    {    "name" : "trader",    "value" : "Joe" } ] }

collection&&element should not be there.

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