Skip to content

Commit

Permalink
loadKeyIndices starts a transaction but does not commit it when the g…
Browse files Browse the repository at this point in the history
…raph is being initialized. This would cause problems if my first operation happened to be rolled back.
  • Loading branch information
Darrick Wiebe committed May 4, 2015
1 parent 6dbb8ec commit 6f6ce47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public Neo4j2Graph(final String directory, final Map<String, String> configurati

protected void init() {
this.loadKeyIndices();
this.commit();
}

public Neo4j2Graph(final Configuration configuration) {
Expand Down

0 comments on commit 6f6ce47

Please sign in to comment.