I used the @CreatedDate entity property and I see that it inserts a date in db. I don't understand what the purpose of the @CreatedBy annotation in Spring Data JPA is.
In the reference documentation, I read:
We provide @CreatedBy , @LastModifiedBy to capture the user who created or modified the object.
But how to create and use such a user?
source share