Hi,

I am create vertices and Edges using gremlin can you help me how to create 
a unique id and create indexes uisng gremlin below is how i am creating 
vertices and edges .I want to persist my gremlin generated ids in the 
database

        OrientGraph graph = new OrientGraph("remote:localhost/frddb", 
"admin", "admin");
          Vertex v1 = graph.addVertex("class:Person");
v1.setProperty("name", "AA");
Vertex v2 = graph.addVertex("class:Person");
v2.setProperty("name", "BB");
      graph.addEdge( "frd" ,v1, v2, "frd");

I am using this in java

-- 

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