The GitHub Actions job "Groovy Snapshot Canary Build" on 
grails-core.git/feat/gorm-lock-latest has succeeded.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
e635ada7465b28db904478ad8ba981d3f2073a0a / Walter Duque de Estrada 
<[email protected]>
fix: supply the target table so an implicit sequence name resolves on Hibernate 
7

id generator: 'sequence' with no explicit params: [sequence: '...'] crashed
session factory bootstrap on Hibernate 7 with "Unable to determine implicit
sequence name for target table 'null'". Hibernate's own generator-creation
path supplies the target table to derive an implicit sequence name; the
Grails-specific path that constructs GrailsSequenceStyleGenerator directly
did not. The table name is now supplied the same way, guarded so it is only
resolved when actually needed (an explicit sequence name skips it entirely).

Adds regression coverage for the implicit-naming case in SequenceGeneratorsSpec
and Issue16349Spec (confirming the dirty-checking fix already covers the
sequence generator too), and fixes two existing GrailsSequenceStyleGeneratorSpec
unit tests whose mocked GeneratorCreationContext did not stub getRootClass().
Verified against the pre-fix code to confirm the new tests catch the
regression before the fix was restored.

Documents the fix as upgrade note 71 in upgrading80x.adoc.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to