DATAGRAPH-423 Upgrade to Neo4j 2.0 GA release

* read transaction
* removal of reference node
* fixing tests
* updating dependencies
This commit is contained in:
Michael Hunger
2014-01-16 09:23:46 +01:00
parent 71a04c7004
commit 8a440bdedf
70 changed files with 567 additions and 855 deletions

View File

@@ -56,14 +56,11 @@ for (Node actor : actors.traverse(movie))
<h4>Transactional: TX needed for write operations</h4>
<pre>
Transaction tx=graphDatabaseService.beginTx();
try {
try (Transaction tx=graphDatabaseService.beginTx()) {
... graph operations ...
tx.success();
} catch(Exception e) {
tx.failure();
} finally {
tx.finish();
}
</pre>
</div>