title: Unable to find NodeEntity or related Entities
body: <p>Dears, </p>
  
  <p>I've created a very simple application with Spring Boot (1.5.7.RELEASE) and Spring data neo4j (4.2.7.RELEASE) and neo4j-ogm (2.1.5).</p>
  
  <p>Relevant parts of my pom.xml:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-data-neo4j&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.neo4j&lt;/groupId&gt;
      &lt;artifactId&gt;neo4j-ogm-test&lt;/artifactId&gt;
      &lt;version&gt;${neo4j-ogm.version}&lt;/version&gt;
      &lt;type&gt;test-jar&lt;/type&gt;
      &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I have two simple entities and one parent (with common stuff):</p>
  
  <pre><code>@NodeEntity
  public abstract class BaseEntity {
  
      @GraphId
      private Long id;
  
      @Convert(value = InstantConverter.class)
      private Instant createdOn;
  
      private Date modifiedOn;
  }
  
  public class User extends BaseEntity {
  
      @Index(unique = true)
      private String username;
  
      @Index(unique = true)
      private String email;
  
      private String password;
  
      public User() {
          //default
      }
  
      public User(String username, String email, String password) {
          this.username = username;
          this.email = email;
          this.password = password;
      }
  }
  
  public class Tag extends BaseEntity {
      @Index
      private String label;
  
      @Relationship(type = "CREATOR")
      private User creator;
  
      public Tag() {}
  
      public Tag(String label, User creator) {
          this.label = label;
          this.creator = creator;
      } 
  }
  </code></pre>
  
  <p>I removed setters/getters/equals/hashcode for clarity.</p>
  
  <p>Using this configuration for Neo4j, trying to be as simple as possible:</p>
  
  <pre><code>@Configuration
  @EnableNeo4jRepositories(value = "xxx.repository")
  public class Neo4jConfiguration {
      @Bean
      public NewEntityPreSaveEventListener newEntityPreSaveEventListener() {
          return new NewEntityPreSaveEventListener();
      }
  }
  </code></pre>
  
  <p>Here is the repository I use:</p>
  
  <pre><code>@Repository
  public interface TagRepository extends GraphRepository&lt;Tag&gt; {
      Tag findOneByLabelAndCreator(String label, User creator);
  
      Tag findOneByLabel(String label);
  
      Tag findOneByCreator(User creator);
  
      @Query("MATCH (tag:Tag)-[:CREATOR]-&gt;(creator:User) WHERE id(creator) = {creatorId} RETURN tag")
      @Depth(value = 5)
      Tag getByCreator(@Param("creatorId") User creator);
  }
  </code></pre>
  
  <p>So nothing fancy, really...</p>
  
  <p>Assuming that:</p>
  
  <pre><code>User myCreator = userRepository.save(new User("myCreator", "email", "password"));
  Tag myTag = tagRepository.save(new Tag("taglabel", myCreator));
  </code></pre>
  
  <p>When I do "tagRepository.findOneByLabel("taglabel")" or , it returns the tag with all properties set. Perfect!</p>
  
  <p>When I do "tagRepository.findOneByCreator(myCreator)", it simply returns null.</p>
  
  <p>When I do "tagRepository.getByCreator(myCreator)", it returns the tag with the right label BUT the property "creator" is null.</p>
  
  <p>I really don't get it. Of course, I read the documentation and I tried several things (@Depth, the custom @Query, adding @Relationship in the User class on a field "Set tags", removing indexes, etc). It simply doesn't want to work properly. 
  It's so simple that I should miss something very, very stupid...
  Unfortunately, all the examples that I found are even simpler than this one... which isn't very helpful.</p>
  
  <p>Any idea?</p>
  
  <p>Thanks in advance for your help.</p>