Hoping my team is doing something silly here, but, using SDN 3.3 against Neo4j 2.1.6, I'm getting a PersistentEntityConversionException when trying to fetch a particular entity.
The data model goes something like this:
- Have a base node entity model, call it A. It's abstract in SDN (it actually descends from a couple other classes, but the root is @NodeEntity).
- Have two sibling entities, each of which descends from A. Call these B and C.
I'm executing a Cypher query that effectively looks for nodes with the label from A (which should include B and C). The Java code looks a bit like this:
List<A> nodeList = this.repo.getNodes();
I get the query back, and then iterate through the results and, using a template, "fetch" the results. Eventually, I get this exception:
org.springframework.data.neo4j.mapping.PersistentEntityConversionException: Requested a entity of type 'class B', but the entity is of type 'class C'.
This method of fetching used to work in SDN 3.2.1.
Any assistance would be greatly appreciated.
Thanks in advance!