You should use ORecordId

ORecordId rid1 = new ORecordId("9:0");
ORecordId rid2 = new ORecordId("10:0"); 
String sql = "create edge SentDirectPost from ? to ?";
graph.command(new OCommandSQL(sql)).execute(rid1, rid2);

Best 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