Permalink
Browse files

yup, first commit the transaction

  • Loading branch information...
1 parent b44866a commit a0f1d57b9dcc4d908ee4af477a221c118e97c3e0 @akollegger committed Dec 29, 2011
@@ -46,6 +46,8 @@ public void shouldIterateOverNodesFromCypherQuery() throws IOException {
Node blueberry = graphdb.createNode();
blueberry.setProperty("kind", "blueberry");
blueberry.createRelationshipTo(fruit, IS_A);
+
+ tx.success();
} finally {
tx.finish();
}

0 comments on commit a0f1d57

Please sign in to comment.