Does Envers function not work if I use JPQL?

Viewed 17

I'm using Hibernate Envers, but if I use JQPL grammar, can't I detect deletion?

1 Answers

Envers is build on the entity life cycle events and those do not get triggered when you execute modifying queries.

So yes, you are correct, things like delete myentity where something = somethingelse don't get tracked by envers.

Related