When initializing my graph through java spring boot I get the following warning:
mapping.DefaultNeo4jIsNewStrategy: Instances of class with an assigned id will always be treated as new without version property!
What is the meaning of this message? Am I supposed to somehow add a "version" property?
My class looks like this:
@Node
public class MyNode {
@Id
String id;
String name;
String type;
public MyNode() {
}
public MyNode(String id, String name, String type) {
this.id = id;
this.name = name;
this.type = type;
}
// Getters and setters...
}
Any help would be appreciated!