Neo4j spring-data issues with @createdDate when using String @Id or customized @Id

@Id
private String id;

We have created customized string @id instead of default long as mentioned above, in our spring boot project

But when we use Neo4jauditing, create and update attributes are getting updated during update operation. Below are the annotations used.

@CreatedDate
private LocalDateTime createdDate;

@LastModifiedDate
private LocalDateTime modifiedDate;

Can you please suggest if there is any details missing which is causing @CreatedDate getting updated even during update operation.

#Neo4jAuditing #customId

I think you should enable either ... in your SpringBootApplication class

@EnableNeo4jAuditing
@EnableReactiveNeo4jAuditing