richard.bizik (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e25b15...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMzZhMjBiZTU0...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-13900?atlOrigin=eyJpIjoiMzZhMj...
) HHH-13900 (
https://hibernate.atlassian.net/browse/HHH-13900?atlOrigin=eyJpIjoiMzZhMj...
) Skip deletion of referenced entities during soft delete (
https://hibernate.atlassian.net/browse/HHH-13900?atlOrigin=eyJpIjoiMzZhMj...
)
Issue Type: Improvement Affects Versions: 5.4.12 Assignee: richard.bizik (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e25b15...
) Components: hibernate-core Created: 23/Mar/2020 22:59 PM Labels: core Priority: Major
Reporter: richard.bizik (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e25b15...
) Original Estimate: 8h Remaining Estimate: 8h
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:
https:
//github.com/richardbizik/hibernate-orm/commit/74bd74355964305376f01561c93a7857e1123ca5
(
https://hibernate.atlassian.net/browse/HHH-13900#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13900#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100122- sha1:092c6a7 )