How can I record data when it is deleted?

Viewed 18

I am currently using JPA Auditing, Envers for Spring Boot project.

I want to save the record when the data is deleted.

So I discovered @SQLDelete Annotation But @SQLDelete Annotation doesn't apply to grammar written in JPQL

Is there a way to save the deletion history that is also applicable to JPQL grammar?

0 Answers
Related