Consider the following code in 1.6 using Tinkerpop Graph API

Map<String, Object> props = new HashMap<String, Object>();
props.put("myEmbeddedSet", new HashSet<String>());
((HashSet<String>)props.get("myEmbeddedSet")).add("myString");
OrientVertex v = 
graphOrientsession.getGraphNoTx().addVertex("class:myVertices", props);

via https://github.com/orientechnologies/orientdb/wiki/Types, I would 
expect "myEmbeddedSet" to be an embedded set.  However, when inspecting the 
database, this is added as a LinkSet with a single record with the value 
"myString" (not a link at all).  Is there something obvious that I am doing 
wrong here?  If I define the schema beforehand, it works correctly.

Thanks,

Brian

-- 

--- 
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.

Reply via email to