[ 
https://issues.apache.org/jira/browse/ISIS-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368624#comment-17368624
 ] 

ASF subversion and git services commented on ISIS-2763:
-------------------------------------------------------

Commit 2aa1dde5b4aeed6a8f8aff517860876c36af73d9 in isis's branch 
refs/heads/master from Daniel Keir Haywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=2aa1dde ]

Merge pull request #629 from apache/ISIS-2763

ISIS-2763: changes user/role mapping to CascadeType of MERGE, PERSIST

> 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
>            Priority: Major
>             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)

Reply via email to