Hi,

i am using Spring Data Neo4j, Snapshot.

I have two entities, where one is the motherclass:

@NodeEntity
ClassA {...}

@NodeEntity
ClassB extends ClassA {...}

When retrieving an entity, i am using neoTemplate.findOne(id, ClassA.class). Retrieved object is always of type ClassA. How do i get the object to be of type ClassB, if the object is of that kind? You see, i am searching for a kind of factory.

Greetz,
Markus