This Spring Boot 3 + Hibernate 6 sample shows that for some reasons the Hibernate 6 Gradle plugin fails with the error Unable to enhance class : com.example.data.jpa.CLR when running ./gradlew compilejava. This use case is working with Hibernate 6 Maven plugin (you can try running mvn compile on the very same sample) and it was working on both Maven and Gradle plugin with Hibernate 5, hence my guess this could be a regression in Hibernate 6 Gradle plugin. This issue is blocking Spring Boot 3 users to get proper Hibernate support with GraalVM native. |