The GitHub Actions job "CI" on 
grails-core.git/fix/hibernate7-basic-collection-key-updatable-8.0.x has 
succeeded.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
a10e1d01407bdd4c3faf51ee120856e880a5315c / Walter Duque de Estrada 
<[email protected]>
fix: keep the key of a collection of basic values updatable

CollectionKeyColumnUpdater made the key of every collection not updatable once
its owner had more than one unidirectional to-many property. For an entity
collection the key is a foreign key in the target table and that rule keeps
several collections from all updating it (issue 10811), but a collection of
basic values or enums lives in a table of its own, and Hibernate writes no
rows at all for a collection whose key is not updatable. An owner with two
such collections saved and reloaded with both of them empty, silently.

Keep the rule for entity collections and always leave the key of a basic
collection updatable. Covered by a persist-and-reload spec (failed before the
fix) and a unit row on the updater.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/37327079982

With regards,
GitHub Actions via GitBox

Reply via email to