If you're using the standard try/catch/finally idiom in Neo4j then consider 
using Nat Pryce/Steve Freeman's transactor pattern.

We have an example of this in the neo4j server code here:

https://github.com/neo4j/community/blob/master/server/src/functionaltest/java/org/neo4j/server/helpers/Transactor.java

It's not always appropriate, but it the general case it can keep your code a 
bit terser and more intent-ful.

Jim

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to