Hibernate Envers Audit tables are created with foreign key with the entity. Because of this I am not able to delete any entries from the entity tables.

Description

I have a table say "Employee" and that table entity is annotated with @Audited. So an "Employee_Aud" is created. "Employee_Aud" is having foreign key constraint to "Employee", because of this I am not able to delete any records from "Employee" table. I guess this is fixed in 5.2.11, but I am using 5.2.12 still Audit tables are created with FK constraint with Parent table. Please advice.

Environment

Dev

Status

Assignee

Chris Cranford

Reporter

Arunprasad

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Worked in

5.2.12

Components

Affects versions

Priority

Major
Configure