jamesfredley opened a new pull request, #15776: URL: https://github.com/apache/grails-core/pull/15776
## Summary - Guard Hibernate 5 and Hibernate 7 mapping-context listeners when a child datastore has no GORM enhancer. - Add late entity registration regressions for both Hibernate lines. - Verify public `withNewSession` routing still uses the mapped `books` datasource. ## Verification - `./gradlew --no-daemon --max-workers=1 :grails-data-hibernate5-core:test --tests "org.grails.orm.hibernate.connections.MultipleDataSourceConnectionsSpec" :grails-data-hibernate7-core:test --tests "org.grails.orm.hibernate.connections.MultipleDataSourceConnectionsSpec" -PmaxTestParallel=1` - `./gradlew --no-daemon --max-workers=1 :grails-data-hibernate5-core:test --tests "org.grails.orm.hibernate.connections.MultipleDataSourceConnectionsSpec.late registered entity is enhanced without child datastore listener failure" :grails-data-hibernate7-core:test --tests "org.grails.orm.hibernate.connections.MultipleDataSourceConnectionsSpec.late registered entity is enhanced without child datastore listener failure" -PmaxTestParallel=1` - `./gradlew --no-daemon --max-workers=1 :grails-data-hibernate7-core:test --tests "org.grails.orm.hibernate.ChildHibernateDatastoreUnitSpec" -PmaxTestParallel=1` - `git diff --check` -- 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]
