Hi Eric, Try to define the property as EMBEDDEDMAP with LINKEDTYPE = EMBEDDEDMAP, it should solve the problem
Thanks Luigi 2017-10-26 4:37 GMT+02:00 Eric24 <[email protected]>: > Using ODB 2.2.28, I have a simple Class that contains an EMBEDDEDLIST > called "data". If I update "data" like this: > UPDATE #12:4 SET data = [{"a":111}, {"b":222}, [{"c":555}, {"d":777}]] > > The result of then selecting "data" from the record is this: > [{"@type":"d","@version":0,"a":111},{"@type":"d","@version":0,"b":222},[{ > "c":555},{"d":777}]] > > As you can see, "data" contains three elements, as expected, but why do > the two elements that are standalone objects get @type and @version > properties, while the element that is an array of objects element does not? > And more specifically, I would prefer to avoid the standalone objects from > being treated in this way. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
