Re: [Neo4j] About Transactions & Traversers

2010-06-29 Thread Toni Menzel
Thanks Matthias, Just saw the "new" Traversal API. Makes things way cleaner already. Toni On Tue, Jun 29, 2010 at 10:37 PM, Mattias Persson wrote: > Yep the way I used to do those things were to wrap the resulting > iterator in a TxIterator which just managed its own transactions in > all the It

Re: [Neo4j] About Transactions & Traversers

2010-06-29 Thread Mattias Persson
Yep the way I used to do those things were to wrap the resulting iterator in a TxIterator which just managed its own transactions in all the Iterator's methods. But that's all in the past. You no longer need to be in a transaction to read stuff from neo4j (kernel version 1.1-SNAPSHOT) 2010/6/29,

[Neo4j] About Transactions & Traversers

2010-06-29 Thread Toni Menzel
Guys, i am a bit puzzled with using traversers in a library fashion ( api user does not know about Neo4J ). To make it short, this is the "service level" method that has a neo4j implementation: -- snip public Iterable getBlogs(); -- snap (this is just an example from the blue sky..) So, that use