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)