borinquenkid opened a new pull request, #16749:
URL: https://github.com/apache/grails-core/pull/16749

   Follow-up to #16686, from @jdaugherty's review at d3d2279043.
   
   - `MultipleUnidirectionalHasManySpec`: the shared-table fixture now has no 
mapping, so its two `hasMany` to the same class share the default join table 
with a key column each, which is #10811 as reported. Its labels now describe 
what runs: each association reads its row by its own key column, and the flush 
writes nothing to the shared table. Making the key always updatable fails the 
assertion with a third row.
   - The upgrade note (26.12) and the Hibernate 7 one-to-many chapter now say 
that two associations to the same class share one join table by default 
(`item_role` with `item_roles_id` and `item_deny_roles_id`), and that a 
`joinTable` per association avoids #10811.
   
   Test only and docs; no main code changes. 
`MultipleUnidirectionalHasManySpec` and `CollectionKeyColumnUpdaterSpec` pass 
on H2 (12 tests).
   
   https://claude.ai/code/session_01MDHn7fC3hsGJ27vFHD2o1p
   


-- 
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]

Reply via email to