Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 1: replicate users.

SDN 6 Releationship

Node Link

 I am using SDN 6. but in this version, I got this type of error: the Caused by: java.lang.IllegalArgumentException: The repository id type class java.lang.String differs from the entity id type class java.lang.Long. at at at at$afterPropertiesSet$5( at at at at at ... 58 common frames omitted. In my model, I connect the relationship with the self node. so how i resolve this issue?

Here my Model,


public abstract class A{
@Id @GeneratedValue @Getter @Setter protected Long id;
public class B extends A{
public class C extends A{

private String a;

private String d;

@Relationship(type = "Owner_of", direction = Direction.INCOMING)

private B b; @Relationship(type = "Parent_of", direction = Direction.OUTGOING)

private C c;

} In this structure i get Error.

Nodes 2022
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online