You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/06/24 04:37:00 UTC
[jira] [Created] (ISIS-2763) JPA ApplicationUser / ApplicationRole
should not use CascadeType.ALL
Daniel Keir Haywood created ISIS-2763:
-----------------------------------------
Summary: JPA ApplicationUser / ApplicationRole should not use CascadeType.ALL
Key: ISIS-2763
URL: https://issues.apache.org/jira/browse/ISIS-2763
Project: Isis
Issue Type: Bug
Components: Isis Extensions SecMan
Affects Versions: 2.0.0-M5
Reporter: Daniel Keir Haywood
Assignee: Daniel Keir Haywood
Fix For: 2.0.0-M6
This can result in cascading the deletion of other ApplicationUsers.
[https://vladmihalcea.com/the-best-way-to-use-the-manytomany-annotation-with-jpa-and-hibernate/]
[https://thorben-janssen.com/avoid-cascadetype-delete-many-assocations/]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)