I am using JPA and Spring -Data JPA in the project. I have one table wherei Insert, and then update the data. However, I need audit information to save the state of all objects, that is, I need information about the state of the insert and all subsequent updates in another table. I know that I can use triggers in the database for this. However, can this be done using JPA / Spring Data JPA?
Any help would be appreciated.
source share