Spring Data JPA Auditing: How to Save Row Creation/Modification Timestamp and User
Saving the creation/modification timestamp of database records plays vital role in production applications. That helps in diagnosing issues and events.
If you're using Spring Data JPA, it's not a big deal. It's officially documented here. Below are the precise steps.
1) Add/edit orm.xml
Create...