The GitHub Actions job "CI" on grails-core.git/fix/h7-multiple-hasmany-8.0.x 
has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
7138500ed15923c96c6eb17e0d5c1dca838a36d9 / Walter Duque de Estrada 
<[email protected]>
fix(hibernate7): count only collection-bound siblings when deciding whether a 
key is updatable

CollectionKeyColumnUpdater asked every unidirectional to-many of the owner for 
its Hibernate
collection. A to-many mapped with type: 'serializable' or with a user type is 
bound as a column by
GrailsPropertyBinder and has no collection, and getCollection() throws a 
MappingException rather
than returning null, so such an owner failed the session factory build. Filter 
the siblings with
HibernateToManyProperty.isBoundAsCollection, which also stops a column-bound 
sibling from counting
as a sharer of the join table.

CollectionKeyColumnUpdaterSpec pins that a serializable and a user-type to-many 
have no Hibernate
collection after binding and that getCollection() throws for them, and that the 
updater keeps an
entity collection's key updatable next to such siblings. 
MultipleUnidirectionalHasManySpec adds the
reporter's second shape, two hasMany to the same class with their own join 
tables, and an entity
hasMany next to a serializable to-many.

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

With regards,
GitHub Actions via GitBox

Reply via email to