Re: [Neo] Event framework has landed

2010-05-10 Thread Georg M. Sorst
Hi Mattias, thanks for your replies, finally getting back myself. Some clarifications about questions 2 and 3, getting data in and out of the transaction: What I am looking for is a way to do something like this: int revision = transaction.finish(commitMessage, userId); I've actually got

Re: [Neo] Event framework has landed

2010-05-10 Thread Mattias Persson
All right, I see what you mean. You're basically wondering if Neo4j already has implemented some of the functionality you're trying to build, right? No, there's no such feature, but you could build it yourself. I'll give you an example of a solution. Say you have a root node to represent the

Re: [Neo] Event framework has landed

2010-05-10 Thread Georg M. Sorst
Hi Mattias, this looks quite similar to what I have done so I guess I'm on the right track :) Thanks again and best regards, Georg On 10.05.2010 12:59, Mattias Persson wrote: All right, I see what you mean. You're basically wondering if Neo4j already has implemented some of the

Re: [Neo] Event framework has landed

2010-05-10 Thread Mattias Persson
Great! 2010/5/10 Georg M. Sorst georgso...@gmx.de Hi Mattias, this looks quite similar to what I have done so I guess I'm on the right track :) Thanks again and best regards, Georg On 10.05.2010 12:59, Mattias Persson wrote: All right, I see what you mean. You're basically wondering

Re: [Neo] Event framework has landed

2010-05-03 Thread Mattias Persson
2010/5/1 Georg M. Sorst georgso...@gmx.de Hi Mattias, hi list that's just what I've been looking for, congratulations on the amazing progress you are making on Neo4j! I am actually trying to use the TransactionEventHandler to implement automatic versioning similar to what was discussed a

Re: [Neo] Event framework has landed

2010-05-01 Thread Georg M. Sorst
Hi Mattias, hi list that's just what I've been looking for, congratulations on the amazing progress you are making on Neo4j! I am actually trying to use the TransactionEventHandler to implement automatic versioning similar to what was discussed a while ago. The beforeCommit() handler seems

Re: [Neo] Event framework has landed

2010-04-29 Thread Mattias Persson
Could you please supply code to reproduce this? 2010/4/29 Atle Prange atle.pra...@gmail.com Really nice, but it seems that afterCommit() never receives any data, the TransactionData argument is always null.. On Tue, Apr 27, 2010 at 10:15 AM, Mattias Persson matt...@neotechnology.com

Re: [Neo] Event framework has landed

2010-04-29 Thread Mattias Persson
Oo, wait a minute... I saw the problem. Try again with the latest code (just committed)! 2010/4/29 Atle Prange atle.pra...@gmail.com Really nice, but it seems that afterCommit() never receives any data, the TransactionData argument is always null.. On Tue, Apr 27, 2010 at 10:15 AM, Mattias

Re: [Neo] Event framework has landed

2010-04-29 Thread Atle Prange
Fixed, nice :) atle On Thu, Apr 29, 2010 at 12:16 PM, Mattias Persson matt...@neotechnology.com wrote: Oo, wait a minute... I saw the problem. Try again with the latest code (just committed)! 2010/4/29 Atle Prange atle.pra...@gmail.com Really nice, but it seems that afterCommit() never

Re: [Neo] Event framework has landed

2010-04-29 Thread Tobias Ivarsson
On Thu, Apr 29, 2010 at 2:19 PM, Atle Prange atle.pra...@gmail.com wrote: BTW.: I wrote a new IndexService using BabuDB [1]. BabuDB is really fast, but does not work for fulltext query. For now the IndexService is embedded in the Object-graph mapper i wrote [2]. Anyone is free to check it out,

Re: [Neo] Event framework has landed

2010-04-29 Thread Atle Prange
No, its just an index/key-value store with no transactional capabilities other than when no exception is being thrown, the index is updated. Any tx handling must be impemented on top. On Thu, Apr 29, 2010 at 2:35 PM, Tobias Ivarsson tobias.ivars...@neotechnology.com wrote: On Thu, Apr 29,