Hi Alessandro, It worked for me!!!:) Now if I try to create an edge that does not respect the constraints, it generate an axception!!!
Thanks a lot. Pasquale Il giorno martedì 23 giugno 2015 17:49:51 UTC+2, [email protected] ha scritto: > > 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.
