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

jamesfredley pushed a commit to branch spring-boot-4
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit a3be23063c5c971111439afe62cdf8ed30b1fd1f
Author: James Fredley <[email protected]>
AuthorDate: Fri Mar 20 15:48:17 2026 -0400

    fix: add spring-boot-hibernate dependency for Spring Boot 4 package 
relocation
    
    HibernateJpaAutoConfiguration moved from spring-boot-autoconfigure to
    the spring-boot-hibernate module in Spring Boot 4. Add the missing
    compileOnly dependency to the spring-boot-hibernate test example.
    
    Assisted-by: Claude Code <[email protected]>
---
 grails-test-examples/hibernate5/spring-boot-hibernate/build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/grails-test-examples/hibernate5/spring-boot-hibernate/build.gradle 
b/grails-test-examples/hibernate5/spring-boot-hibernate/build.gradle
index 53acde367e..7ec050f6c9 100644
--- a/grails-test-examples/hibernate5/spring-boot-hibernate/build.gradle
+++ b/grails-test-examples/hibernate5/spring-boot-hibernate/build.gradle
@@ -35,6 +35,7 @@ dependencies {
     implementation 'org.springframework.boot:spring-boot-starter-web'
 
     compileOnly 'org.springframework.boot:spring-boot-autoconfigure'
+    compileOnly 'org.springframework.boot:spring-boot-hibernate'
 
     runtimeOnly 'com.h2database:h2'
     runtimeOnly 'com.zaxxer:HikariCP'

Reply via email to