ianroberts commented on issue #16691: URL: https://github.com/apache/grails-core/issues/16691#issuecomment-6310842309
As far as I can tell tracing through the code in my debugger, both versions of hibernate _do_ determine the correct sequence of operations in all cases. If I have an item that starts off with roles `[A, B, C]` and I want to change it to have `[C, D]`, hibernate correctly infers that it needs to remove A, remove B and add D (always removals first, then updates, then adds), but in 7 each removal operation clears the whole list due to the missing where constraint, and the final result is just `[D]`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
