Skip to content

Commit

Permalink
yup, first commit the transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
akollegger committed Dec 29, 2011
1 parent b44866a commit a0f1d57
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public void shouldIterateOverNodesFromCypherQuery() throws IOException {
Node blueberry = graphdb.createNode(); Node blueberry = graphdb.createNode();
blueberry.setProperty("kind", "blueberry"); blueberry.setProperty("kind", "blueberry");
blueberry.createRelationshipTo(fruit, IS_A); blueberry.createRelationshipTo(fruit, IS_A);

tx.success();
} finally { } finally {
tx.finish(); tx.finish();
} }
Expand Down

0 comments on commit a0f1d57

Please sign in to comment.