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

   ## Summary
   
   Wires the Hibernate 5 adapter into the `GormRegistry` introduced in #15780.
   
   - **`HibernateGormApiFactory`** — new factory that creates 
`HibernateGormStaticApi`, `HibernateGormInstanceApi`, and 
`HibernateGormValidationApi` instances typed to `HibernateDatastore`
   - **`HibernateGormEnhancer.registerConstraints()`** — registers 
`HibernateGormApiFactory` with `GormRegistry` so Hibernate-typed APIs are used 
for all H5 entities
   - **`GrailsDataHibernate5TckManager`** — updated to participate in the 
registry lifecycle
   - **`TenantBoundHibernateTemplate`** — new template subclass that binds the 
current tenant to the Hibernate session for `DISCRIMINATOR` multi-tenancy
   - Unit tests: `HibernateGormApiFactorySpec`, `GormRegistryScalabilitySpec`, 
`Hibernate5TenantContextProfilingSpec`
   
   ## Test plan
   
   - [ ] `./gradlew :grails-data-hibernate5:test` passes
   - [ ] TCK suite passes with `-Phibernate5.gorm.suite`
   
   ## Stack
   
   - Prereq: #15779 → #15780 → #15781
   - **This PR** — Hibernate 5 wiring
   - Next: `feat/gorm-registry-mongodb`
   
   🤖 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