I am having a "user" table at any time if a row inserted or updated or deleted then I need to insert a row in the "user_audit" table with all user data and action columns to note the action performed.
I am using spring batch, spring data JPA to insert data into the user table
How I can implement this in spring batch using spring data JPA or is there any implementation provided by JPA/hibernate?