I'm giving 3.0.1 a spin but it's throwing a MappingException on the first 
@NodeEntity I try to create. It's failing in 
AbstractMappingContext.getPersistentEntity
if (strict) {
 throw new MappingException("Unknown persistent entity " + type);
 }


It had been working fine in 3.0.0-RC1. I have changed nothing in my 
configuration except bumping the dependency to 3.0.1. Neo4j2.0.0 on OSX 
Java 7 

This person is reporting a similar issue. 
http://forum.spring.io/forum/spring-projects/data/nosql/746297-spring-data-neo4j-fails-on-upgrade-to-3-0-1

In 3.0.0 it appears to work when calling findByPropertyValue. In 3.0.1 the 
function fails with the exception. Likewise 
calling findBySchemaPropertyValue (which looks to be the replacement for 
findByPropertyValue) also fails. Seems the persistent entities are not 
being registered by the Neo4jMappingContext

Any configuration things we need to be aware of? Is there a guide to how 
@Indexed annotations can be configured to avoid "No index name allowed on 
label based indexes.."?

@NodeEntity
@TypeAlias(value ="ABCompany")
public class CompanyNode implements Company {
    @GraphId
    Long id;

    @Indexed
    private String name;

    @Indexed(unique = true)
    private String code;.....


-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to