cancel
Showing results for 
Search instead for 
Did you mean: 

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

Kishor
Node
@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

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.