Skip to content

Adding lazy="subquery" in relationship with link model causes deletes not to cascade to the link table #595

Closed Answered by meehande
meehande asked this question in Questions
Discussion options

You must be logged in to vote

It turns out this was all caused by a delete of an object elsewhere in the code that referenced an instance of Group retrieved from a different session, which was revealed by adding this code, but caused by a different endpoint deleting incorrectly. Closing issue as resolved!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by meehande
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
1 participant