title: org.springframework.data.mapping.model.MappingException: Unknown persistent entity java.lang.String
body: <p>I've upgraded from Spring-data-Neo4j 3.0.0 to 3.0.1 to use the new Label feature.
  The derived finders (working with previous versions) are giving this exception :</p>
  
  <pre><code>org.springframework.data.mapping.model.MappingException: Unknown persistent entity java.lang.String
  </code></pre>
  
  <p>I can't find why does this happen :(</p>
  
  <p>I've tried to add <code>@Query("MATCH (e:Event) WHERE e.title = {0} RETURN e")</code> over my repository finder but I'm getting the same exception</p>
  
  <p>I think it's a Mongodb-Neo4j conflict because when I debug I see that in the invoke method of the JdkDynamicAopProxy, the proxy parameter is org.springframework.data.mongodb.repository.support.SimpleMongoRepository@3c8f3375 while My my entity is annotated with @NodeEntity and in the context configuration I have this :</p>
  
  <pre><code>&lt;context:annotation-config/&gt;
      &lt;context:spring-configured/&gt;
      &lt;context:component-scan base-package="com.xxx"/&gt;
  
      &lt;!-- Neo4J --&gt;
  
      &lt;neo4j:config storeDirectory="D:/neo4j-enterprise-2.0.1/data/mydb" base-package="com.xxx.domain.graph" /&gt;
      &lt;neo4j:repositories base-package="com.xxx.repository.graph" /&gt;
  
  
      &lt;!-- MongoDB --&gt;
  
      &lt;!-- Factory bean that creates the Mongo instance --&gt; 
      &lt;mongo:mongo host="localhost" port="27017"&gt; 
          &lt;mongo:options
               connections-per-host="5"            
               connect-timeout="30000"
               max-wait-time="10000"           
               write-number="1"
               write-timeout="0"
               write-fsync="true"/&gt;
      &lt;/mongo:mongo&gt;
  
      &lt;mongo:db-factory dbname="test" mongo-ref="mongo"/&gt;
  
      &lt;!-- MongoTemplate for connecting and quering the documents in the database --&gt;  
      &lt;bean id="mongoTemplate" class="org.springframework.data.mongodb.core.MongoTemplate"&gt;
          &lt;constructor-arg ref="mongo"/&gt;
          &lt;constructor-arg name="databaseName" value="xxxx"/&gt;
       &lt;/bean&gt;
      &lt;mongo:repositories base-package="com.xxx.repository.document" /&gt;
  
      &lt;tx:annotation-driven mode="proxy"/&gt;
  </code></pre>