title: Neo4j SDN UUID Transaction Handler
body: <p>I'm using Neo4j 2.1.7 with SDN 3.3.0.RELEASE in embedded mode.</p>
  
  <p>How can i automatically assign UUIDs to new nodes? What is the best practice when trying to achieve this?</p>
  
  <hr>
  
  <p><em>Current Solution:</em></p>
  
  <p>I added a TransactionEventHandler which automatically add a uuid property to every node. Additionally this handler also blocks the commit when someone tries to remove the uuid.</p>
  
  <p><em>Problems:</em></p>
  
  <p>With SDN i always have to reload the entity outside of my transaction in order to use the generated uuid. This limits the usefulness of @Transactional. Is there maybe a way to workaround this?</p>