neo4j/community — pull request #694 by systay (2012-07-09 11:55:24+00:00)
Title: Changed transaction taking around unique indexes

It will open a transaction as late as possible, after checking if
the entity exists in an index.