The GitHub Actions job "Running Copilot Code Review" on grails-core.git/9.0.x-h7-native-default has succeeded. Run started by GitHub user Copilot (triggered by Copilot).
Head commit for run: eb82a95c44c9680e01bca21f096a6bc85ce246b8 / 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/38011158696 With regards, GitHub Actions via GitBox
