I have an entity lets say Employee as below:
Id(primary key) Firstname Lastname DateofBirth CreatedDate
I need to update the created date only if there is any change in firstname or lastname or dateofbirth.
Any suggestion on how to implement this.
I am using spring boot with jpa.
Thanks in advance