Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-03-2022 03:45 AM
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!
Solved! Go to Solution.
03-03-2022 05:10 AM
03-03-2022 03:48 AM
Yes, because SDN cannot decided if the entity is a new node or should reflect an existing one.
03-03-2022 03:57 AM
Can you give an example or a link of the syntax of the "version"property?
03-03-2022 05:10 AM
All the sessions of the conference are now available online