You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2026/07/24 02:46:02 UTC

Re: [I] really hard to initialize second datasource with HibernateGormAutoConfiguration [grails-core]

jamesfredley commented on issue #14660:
URL: https://github.com/apache/grails-core/issues/14660#issuecomment-5065642695

   Thanks for the detailed report. The current Hibernate 7 implementation on the `8.0.x` line supports configured secondary data sources, creates per-source session factories and transaction managers, and applies per-source configuration. The current integration spec boots three data sources and verifies routing to each database: [implementation](https://github.com/apache/grails-core/blob/8.0.x/grails-data-hibernate7/grails-plugin/src/main/groovy/grails/orm/bootstrap/HibernateDatastoreSpringInitializer.groovy), [regression coverage](https://github.com/apache/grails-core/blob/8.0.x/grails-data-hibernate7/grails-plugin/src/test/groovy/grails/orm/bootstrap/HibernateDatastoreSpringInitializerSpec.groovy). This successor implementation landed with the Hibernate 7 work in [#15568](https://github.com/apache/grails-core/pull/15568), merged on June 25, 2026. Closing this as resolved for current Grails 8.0.x. If a supported secondary-data-source configuration still fails with the latest versio
 n, please reopen with a minimal reproducer.


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org