The GitHub Actions job "Coverage" on grails-core.git/9.0.x-h7-native-default 
has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
dfc673b6180f2ed5e1cfd4dcbeb046ea8abc8076 / Walter Duque de Estrada 
<[email protected]>
fix(hibernate7): accept the tenant id as a part of a composite identifier in 
native binding

grails-test-examples/hibernate7/issue450 maps `id composite: ['id',
'tenantId']` on a multi-tenant entity. The classic binder binds the tenant
id like any other column of the key and the tenant filter compares that
column; the generator refused it as "a HibernateTenantIdProperty, which the
generator does not support yet", so the app did not start once native
binding became the default. The generator now treats a tenant id part like
a simple one. GeneratedDomainClassesMultiTenancySpec boots the mapping in
both modes, stores a row per tenant and reads each tenant's own rows back
(it failed natively with the refusal before the fix); the frozen classic
oracle gains the records of the new fixture (REFREEZE, additions only).

Three specs relied on the old default to boot the classic binder and now
state it: the classic boot of the generator differential (with the
create-drop the no-argument constructor applied, which resolves the SQL
types the records hold), and the two defect-pinning specs that build their
own datastore, one of which therefore leaves classic-only-specs.txt.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to