Assuming this is a bug: 
https://github.com/orientechnologies/orientdb/issues/2782

Thanks.

On Sunday, September 7, 2014 11:03:32 AM UTC-4, Jon Fields wrote:
>
> create class Test1
> create property Test1.p embeddedmap linkset
> desc Test1
> Class................: Test1
> Default cluster......: test1 (id=16)
> Supported cluster ids: [16]
> Cluster selection....: round-robin
>
> PROPERTIES
>
> -------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
>  NAME                          | TYPE        | LINKED TYPE/CLASS         
>     | MANDATORY | READONLY | NOT NULL |    MIN    |    MAX    | COLLATE  |
>
> -------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
>  p                             | EMBEDDEDMAP | LINKSET                   
>     | false     | false    | false    |           |           | default  |
>
> -------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
>
> insert into Test1 set p = {"key1":[#17:0,#17:1]}
>
> Inserted record '
> Error: 
> com.orientechnologies.orient.core.exception.OSerializationException: Error 
> on unmarshalling field 'p' in record #16:0 with value: 
> p:{"key1":[#17:0,#17:1]}
>
> Error: java.lang.IllegalArgumentException: Type LINKSET not supported to 
> convert value: [#17:0,#17:1]
>
>
>
> OrientDB 1.7.8.
>
> Also, setting the values of "p" and calling save using the JAVA document 
> API succeeds with no exception, even though the property is not updated.
>
> Bug or am I doing something wrong?
>
> Thanks, Jon.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to