Skip deletion of referenced entities during soft delete

Description

Hibernate now removes all references from entities that are being deleted to avoid foreign key violations. This behavior is not wanted for soft delete operations. We want to keep the references and mark entities as deleted.

proposed solution is in this repository:

 

Environment

None

Assignee

Unassigned

Reporter

richard.bizik

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

Affirmative

backportDecision

None

Components

Affects versions

Priority

Major
Configure