How can I create a edge between 2 class instances in orientDb.
I have my class Xyz in Db with following properties
#| RID |name
--+---------+------------
0| #99:6|abc
1| #99:7|xyz
orientdb> create edge E1 from #99:6 to #99:7 Error: com.orientechnologies.orient.core.exception.OCommandExecutionException:
E rror on execution of command: OCommandSQL [text=create edge E1 from #99:6 to #99 :7] Error: com.orientechnologies.orient.core.exception.OValidationException: The fie ld 'OGraphEdge.out' has been declared as LINK of type 'OGraphVertex' but the val ue is the document #99:6 of class 'Xyz' orientdb>
Seems that record #99:6 is of a class doesn't extend V (OGraphVertex).