The GitHub Actions job "CI" on 
grails-core.git/fix/hibernate5-many-to-many-warning-circular-map-7.0.x has 
failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
83089c549bd23786a9a6dc3119e19f48be55b445 / Walter Duque de Estrada 
<[email protected]>
fix(hibernate5): skip Map-valued many-to-manys in the no-owner warning, keep 
skipping circular ones

The no-owner many-to-many warning did not exclude Map-valued sides, whose 
second pass makes
them write the join table, so it claimed a stored relationship was not stored. 
It now skips a
relationship with a Map on either side, matching the Hibernate 7 module.

A circular many-to-many stays excluded: bindCollectionSecondPass makes every 
circular collection
non-inverse, so both properties write their own join table and the relationship 
is stored with or
without belongsTo. Declaring belongsTo there swaps the two join table names and 
breaks an existing
schema, so the warning would have led to a failure. The guide says so, and the 
circular test now
asserts that nothing is warned and that both sides read back.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to