title: Neo4J : Proper way to delete relationship?
body: <p>Here's my nodes :</p>
  <pre><code>@NodeEntity
  public class User {
  
      @Id
      @Index(unique = true)
      @GeneratedValue(strategy = UuidStrategy.class)
      private String id;
  
      @Relationship(type = &quot;LIKE&quot;)
      private Collection&lt;Pattern&gt; likedPatterns;
      ...
  }
  
  
  @NodeEntity
  public class Pattern {
      @Id
      @Index(unique = true)
      @GeneratedValue(strategy = UuidStrategy.class)
      private String id;
      
      private String name;
  
      @Relationship(type = &quot;LIKE&quot;, direction = Relationship.INCOMING)
      private List&lt;User&gt; likes;
      ...
  }
  </code></pre>
  <p>I try to delete relationship between user and pattern :</p>
  <pre><code>@Override
  @Transactional(readOnly = false)
  public void deleteLikedPattern(String patternId, Long authId) {
      User user = userRepository.findByAuthId(authId);
      user.getLikedPatterns().removeIf(p -&gt; p.getId().equals(patternId));
      userRepository.save(user);
      
  }
  </code></pre>
  <p>In the begining user has 2 pattern. On debug I can see that patternId is found in pattern collection, and corresponding pattern is removed from the list.
  Then the save() is done, and I got no error. But if I check in DB, pattern and user are still linked, relationship is still here.</p>
  <p>I tried solution on this post <a href="https://stackoverflow.com/questions/35391230/neo4j-ogm-how-to-delete-relationship">Neo4j OGM how to delete relationship</a>  which works. Which means that if I want to delete a relationship, I have to delete association in both entities list :</p>
  <ul>
  <li><p>delete pattern from user pattern's collection</p>
  </li>
  <li><p>delete user from pattern user's collection)</p>
  <p>which is a little tedious...</p>
  </li>
  </ul>
  <p>And in many other thread asking for same problem, people seems not to suggest to delete association on both sides.
  My question is : do I HAVE to delete association on both sides, or should it work by just removing pattern from user's favorites list?</p>
  <p>Thx</p>