borinquenkid opened a new pull request, #15787:
URL: https://github.com/apache/grails-core/pull/15787

   ## Summary
   
   Wires the Hibernate 7 adapter into the `GormRegistry` introduced in #15780.
   
   - **`HibernateGormApiFactory`** (H7) — factory that creates 
`HibernateGormStaticApi`, `HibernateGormInstanceApi`, and 
`HibernateGormValidationApi` instances typed to the H7 `HibernateDatastore`
   - **`HibernateGormEnhancer.registerConstraints()`** (H7) — registers 
`HibernateGormApiFactory` with `GormRegistry` so Hibernate 7-typed APIs are 
used for all H7 entities
   - **`GormAutoTimestampFlushEntityEventListener`** — new H7 flush listener 
that respects the registry-based session lifecycle
   - Child datastore initialisation — ensures child `HibernateDatastore` 
instances (per-tenant DATABASE mode) are registered with the registry on 
creation
   - Unit tests: `HibernateGormApiFactorySpec`, `GormRegistryScalabilitySpec`, 
`HibernateTenantContextProfilingSpec`, `HibernateTransactionManagerSpec`
   
   ## Test plan
   
   - [ ] `./gradlew :grails-data-hibernate7:test` passes
   - [ ] TCK suite passes with `-Phibernate7.gorm.suite`
   
   ## Stack
   
   - Prereq: #15779 → #15780 → #15781 → #15782 → #15783 → #15784 → #15785 → 
#15786
   - **This PR** — Hibernate 7 wiring (final adapter in the stack)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to