title: Spring data neo4j, I cant delete node by id
body: <p>I am using latest version of SDN.</p>
  
  <p>I have repository with delete method</p>
  
  <pre><code>   @Override   
      @Query("MATCH (n:`User`) WHERE ID(n)={0} DELETE n")
      public void delete(Long id);
  </code></pre>
  
  <p>and method from Spring service which is pass id</p>
  
  <pre><code>  @Transactional
      public Long deleteUser(Long id) {
          User user = repository.findOne(id);
          if (user != null) {
            //  template.delete(user );
              repository.delete(user .getNodeId());
              log.info("deleted user with getNodeId  " + user .getNodeId());
  
          }
          return id;
  }
  </code></pre>
  
  <p>Entity</p>
  
  <pre><code>@NodeEntity(useShortNames = true)
  @TypeAlias("User")
  public class User{
  
      @GraphId
      private Long nodeId;
      @Indexed(unique = false)
      @GraphProperty
      private String articleId;
  </code></pre>
  
  <p>So Id passed 100% and from db I get one entity and try to delete it by id
  or with neo4j template, but it does not delete, why? i do not know, no any error</p>