I am using hibernate envers to audit events and it works fine along with Spring Data JPA Repository when i invoke repositoy.delete() or repository.save()
But If I write a jpa query and delete the entity using a query , then it hibernate envers audit listener does not get invoked.
I read that hibernate envers will not trap native query - But will it not work for hibernate/jpa queries as well ?
Thanks Lives