Hi Nuo,

In the REST API every interaction is automatically executed within a 
transaction on the server side.

If you need to complete multiple operations within the scope of a transaction 
you have a few options:

1. REST batch API: 
http://docs.neo4j.org/chunked/snapshot/rest-api-batch-ops.html
2. Unmanaged extension (JAX-RS): 
http://docs.neo4j.org/chunked/snapshot/server-unmanaged-extensions.html
3. Server plugins: http://docs.neo4j.org/chunked/snapshot/server-plugins.html

With 1 you POST commands over to the server and the batch API executes them 
against the GraphDatabaseService on your behalf (and rolls back the transaction 
and gives you feedback if anything goes wrong).
With 2 & 3 you write server-side Java code which interacts with the 
GraphDatabaseService hosted by the Neo4j server.

Jim

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

Reply via email to