We're updating the issue view to help you get more done. 

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

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.2.12

Components

Affects versions

5.2.12

Priority

Major