Hi! I have seen this hanging problem adressed before in this forum.

I am storing the graph locally (no http access)

the method in question performs:


 Node gn;

 Transaction t = graph.beginTx();

 Label l = DynamicLabel.label(s);

 try{

 if (!root.hasLabel(l)){

  gn = graph.createNode();

root.createRelationshipTo(gn, Relationships.CONTAINS);  

 }

 }

 finally{

 t.close();

 }

Any ideas?


Thanks!!

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" 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/groups/opt_out.

Reply via email to