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
Post a Comment