Hi Pasquale,
for the first question try this code

OrientGraph g=new OrientGraph(path); 
OClass cl=g.createVertexType("MyVertex", "V");
OClass cl2=g.createEdgeType("MyEdge", "E");
cl2.createProperty("out",OType.LINK, cl);

Regards,
Alessandro

-- 

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