Hi, I have not tried to reproduce this but just looking at the code I think it is a bug so thanks for reporting it!
The "synchronization hook" that gathers the transaction data gets registered in the call to GraphDatabaseService.beginTx() but when using Spring (with that configuration) UserTransaction (old JTA) will be called directly so no events will be collected. Will fix this very soon. -Johan On Wed, May 19, 2010 at 5:49 PM, Antonis Lempesis <ant...@di.uoa.gr> wrote: > Hello all, > > I have set up spring to handle transactions for neo4j (according to > the imdb example) and it works fine. When > I read about the new events framework, I checked out the latest revision > (4421) and tried to register my > TransactionEventHandler that simply prints the number of created nodes. > The weird thing is that when I test > this in a simple junit test case, the TransactionData I get contains the > correct data. When I do the same thing > using the spring configuration, the TransactionData is empty. Any ideas? > > Thanks, > Antonis _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user