Let's have this class structure:
@NodeEntity
abstract class BasicNodeEntity {
@GraphId
private Long nodeId;
//...
}
abstract class IdentifiableEntity extends BasicNodeEntity {
private String id;
//...
}
abstract class Ad extends IdentifiableEntity {
//... Ad attibutes
}
class OfferAd extends Ad {
// ... OfferAd attibutes
}
Saving an OfferAd node through a Neo4jRepository, I expect the node would have two labels: OfferAd and Ad (inherited). However, the label Ad is not added to the node.
I know I can do it saving the node through a cypher query, but I'm wondering if it's posible through a Neo4jRepository instead.
I've reviewed this question (related to SDN3) and I think it's very close to my use case, but it seems to be not working...
Any help would be appreciated. Thanks
