java - Javers audit a custom delete -


what way javers audit custom 'delete'? using spring-boot integration, example:

@transactional @modifying @query(" delete executepayment exep " +                 " exep.customer = :customer " +                 "   , exep.status = 'executed' ")         void deletependingexecutionsfromcustomer(@param("customer") customer customer); 

javers doesn't support jpa query language. need wrap method , call javers.commitshallowdelete() manually.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -