This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch test/h7-functional-coverage
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 5aaa296b36e96edbe128813e72abb1ada264b129
Author: James Fredley <[email protected]>
AuthorDate: Thu Jun 11 13:45:50 2026 -0400

    Align Hibernate 7 functional dependency routing
    
    Assisted-by: Hephaestus:openai/gpt-5.5
---
 dependencies.gradle                                       |  2 +-
 gradle/functional-test-config.gradle                      | 13 ++++++++-----
 grails-forge/grails-forge-analytics-postgres/build.gradle |  4 ++--
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/dependencies.gradle b/dependencies.gradle
index 0fe5a2080d..f89bebf2e8 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -317,7 +317,7 @@ ext {
                 'cache-ri-impl.version'         : '1.1.1',
                 'groovy.version'                : '5.0.5',
                 'hibernate-models.version'      : '1.0.1',
-                'hibernate.version'             : '7.2.5.Final',
+                'hibernate.version'             : '7.2.7.Final',
                 'jandex.version'                : '3.2.3',
                 'liquibase-hibernate.version'   : '4.27.0',
                 'liquibase-test-harness.version': '1.0.11',
diff --git a/gradle/functional-test-config.gradle 
b/gradle/functional-test-config.gradle
index d3bf5ccda2..a7e1a22998 100644
--- a/gradle/functional-test-config.gradle
+++ b/gradle/functional-test-config.gradle
@@ -35,9 +35,12 @@ boolean isHibernateSpecificProject = 
isHibernate5LabeledProject || isHibernate7L
 boolean isMongoProject = 
project.name.startsWith('grails-test-examples-mongodb')
 boolean isGeneralFunctionalTest = !isHibernateSpecificProject && 
!isMongoProject
 
-// General functional test projects that use Hibernate 5-specific GORM APIs 
and cannot run
-// under Hibernate 7 via dependency substitution.
-// Their H7-compatible equivalents live in grails-test-examples/hibernate7/.
+// General functional test projects that cannot run under Hibernate 7 via 
dependency substitution.
+// The datasources project has partial H7-compatible coverage in
+// grails-test-examples/hibernate7/grails-multiple-datasources, but still 
includes H5-only
+// coverage that needs explicit H7 duplicates before the general project can 
be enabled.
+// The views and scaffolding projects boot with H7 substitution, but their 
functional specs
+// currently fail on association rendering and unique-constraint behavior 
under Hibernate 7.
 List<String> h7IncompatibleProjects = [
         'grails-test-examples-datasources',
         'grails-test-examples-views-functional-tests',
@@ -46,7 +49,7 @@ List<String> h7IncompatibleProjects = [
 
 // Redirect the default grails-bom to grails-hibernate7-bom for general 
functional tests when
 // running with -PhibernateVersion=7, so consumers get the Hibernate 7 version 
constraints
-// (hibernate.version=7.2.5.Final and related). The default grails-bom and 
grails-hibernate5-bom
+// (hibernate.version=7.2.7.Final and related). The default grails-bom and 
grails-hibernate5-bom
 // ship the Hibernate 5 constraints.
 def redirectBomToH7 = isGeneralFunctionalTest && targetHibernateVersion == '7' 
&& !(project.name in h7IncompatibleProjects)
 
@@ -215,4 +218,4 @@ tasks.withType(Test).configureEach { Test task ->
 tasks.named('groovydoc').configure {
     // We don't need to generate docs for test projects
     enabled = false
-}
\ No newline at end of file
+}
diff --git a/grails-forge/grails-forge-analytics-postgres/build.gradle 
b/grails-forge/grails-forge-analytics-postgres/build.gradle
index 09e016c9f8..04fe266cf8 100644
--- a/grails-forge/grails-forge-analytics-postgres/build.gradle
+++ b/grails-forge/grails-forge-analytics-postgres/build.gradle
@@ -28,11 +28,11 @@ group = 'org.apache.grails.forge'
 
 dependencies {
 
-    annotationProcessor 
platform("io.micronaut:micronaut-bom:$micronautVersion")
+    annotationProcessor 
platform("io.micronaut.platform:micronaut-platform:$micronautVersion")
     annotationProcessor 'io.micronaut:micronaut-graal'
     annotationProcessor 'io.micronaut.data:micronaut-data-processor'
 
-    implementation platform("io.micronaut:micronaut-bom:$micronautVersion")
+    implementation 
platform("io.micronaut.platform:micronaut-platform:$micronautVersion")
     implementation project(':grails-forge-core')
     implementation 
"com.google.cloud.sql:postgres-socket-factory:$postgresSocketFactoryVersion"
     implementation 'io.micronaut.data:micronaut-data-jdbc'

Reply via email to