title: Delete/Clear Neo4j DB for Test serie
body: <p>I have a series of unit test where I need to clear a neo4j database. All the tests pass if I run them individually but when I run them all then some fail saying that a particular node could not be found: </p>
  
  <pre><code>org.neo4j.graphdb.NotFoundException: Node[6] not found.
  at org.neo4j.kernel.impl.core.NodeManager.getNodeForProxy(NodeManager.java:505)
  at org.neo4j.kernel.impl.core.NodeProxy.hasProperty(NodeProxy.java:151)
  at org.springframework.data.neo4j.fieldaccess.PropertyFieldAccessorFactory$PropertyFieldAccessor.doGetValue(PropertyFieldAccessorFactory.java:85)
  at org.springframework.data.neo4j.fieldaccess.ConvertingNodePropertyFieldAccessorFactory$ConvertingNodePropertyFieldAccessor.doGetValue(ConvertingNodePropertyFieldAccessorFactory.java:89)
  at org.springframework.data.neo4j.fieldaccess.PropertyFieldAccessorFactory$PropertyFieldAccessor.getValue(PropertyFieldAccessorFactory.java:80)
  at org.springframework.data.neo4j.fieldaccess.DefaultEntityState.getValue(DefaultEntityState.java:97)
  at org.springframework.data.neo4j.fieldaccess.DetachedEntityState.getValue(DetachedEntityState.java:100)
  at org.springframework.data.neo4j.fieldaccess.DetachedEntityState.getValue(DetachedEntityState.java:105)
  </code></pre>
  
  <p>I have tried this but it didn't solve my problem: <a href="https://github.com/jexp/neo4j-clean-remote-db-addon/blob/master/src/main/java/org/neo4j/server/extension/test/delete/Neo4jDatabaseCleaner.java" rel="nofollow">Neo4jDatabaseCleaner</a></p>
  
  <p>What's noticeable is that the tests which have the problem are the one with a relation with properties.</p>
  
  <p>What else could I try?</p>