Envers: Missing support of CriteriaDelete and CriteriaUpdate

Description

I am using Hibernate Envers in my project along with a lot of CriteriaDelete and CriteriaUpdate queries.

The problem now is, that with CriteriaDelete and CriteriaUpdate the auditing does not work properly! That makes using an auditing tool worthless.

Example:

After executing aManager.deleteByMyString("xyz") which deletes at least 1 row, no A_AUD entry with revtype=2 is created.

Environment

hibernate-entitymanager: 5.0.4.Final
hibernate-envers: 5.0.4.Final
PostgreSQL: 9.2

Assignee

Unassigned

Reporter

Marcel

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure