mapping.DefaultNeo4jIsNewStrategy: Instances of class with an assigned id will always be treated as new without version property!

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!

Yes, because SDN cannot decided if the entity is a new node or should reflect an existing one.

Can you give an example or a link of the syntax of the "version"property?