Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Johan Svensson
Hi Jose, Does http://docs.neo4j.org/chunked/1.3/transactions-delete.html answer your question? Regards, Johan On Tue, May 24, 2011 at 4:34 AM, Jose Angel Inda Herrera jai...@estudiantes.uci.cu wrote: hello list, I wonder when a node will be removed in a transaction, since I have a

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Jose Angel Inda Herrera
El 24/05/11 04:17, Johan Svensson escribió: Hi Jose, Does http://docs.neo4j.org/chunked/1.3/transactions-delete.html answer your question? Regards, Johan On Tue, May 24, 2011 at 4:34 AM, Jose Angel Inda Herrera jai...@estudiantes.uci.cu wrote: hello list, I wonder when a node will be

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Andreas Kollegger
Hi Jose, Perhaps the event framework[1] would suit your purpose. The TransactionEventHandler [2] includes operations for intercepting a transaction before it is committed. Otherwise, to intercept the Node.delete call itself, you'd have to look into using AOP. Cheers, Andreas [1]

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Jose Angel Inda Herrera
El 5/24/2011 9:12 AM, Andreas Kollegger escribió: Hi Jose, Perhaps the event framework[1] would suit your purpose. The TransactionEventHandler [2] includes operations for intercepting a transaction before it is committed. Otherwise, to intercept the Node.delete call itself, you'd have to

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Andreas Kollegger
Aspect Oriented Programming[1] (AOP) lets you decorate classes and methods with extra behavior. Assuming that you're working with Neo4j in an embedded application, you'd use a library like AspectJ [2][3] to add advice to the Node.delete (actually the NodeImpl class) to perform your logic

[Neo4j] question about remove and iterate in same transaction

2011-05-23 Thread Jose Angel Inda Herrera
hello list, I wonder when a node will be removed in a transaction, since I have a transaction in which I delete a node in the graph, but I need to iterate lso nodes of the graph in the same transaction thanks, cheers ___ Neo4j mailing list