Hi Rahul,

try this code:

OrientGraph g = new OrientGraph("remote:localhost/Insert_Gremlin","admin",
"admin"); 
 
 int vertex_number=50000;
 
 for(int i=0;i<vertex_number;i++)
 {
 Vertex v = g.addVertex("class:Table");
 v.setProperty("name", "user_"+i);
 System.out.println("#### "+i);
 }
 
 g.commit();

When I query Table:

<https://lh3.googleusercontent.com/-4ZZoZA22w4k/VtWsLcw2tTI/AAAAAAAAABc/1HxEqNdkxUU/s1600/stamp.png>


Hope it helps,


Regards,

Michela


-- 

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