Re: [Neo4j] [SOLVED] Traversing graph after adding node

2011-10-28 Thread Mattias Persson
You don't have to commit a transaction in order to see the changes in it. You can add a node and a relationship and within that same transaction find it via a traversal. And then after doing several of those commit and that's completely fine. 2011/10/24 Rubicon > Realized, that I've to give the

Re: [Neo4j] [SOLVED] Traversing graph after adding node

2011-10-24 Thread Peter Neubauer
Hi there, so the problem is solved for you? If you have more questions, maybe you can post a GIST so I can have a look? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twit

Re: [Neo4j] [SOLVED] Traversing graph after adding node

2011-10-24 Thread Rubicon
Realized, that I've to give the hole path to the node I'm looking fore... have: [refNode]USER--->[user]HAS_OCCUPATION>[occupation] For some reason the traverser Traverser usersTraverser = firstNode.traverse(Order.BREADTH_FIRST, StopEvaluator.END_OF_GRAPH, Returna