sdeleuze (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=634667c...
) *commented* on HHH-15597 (
https://hibernate.atlassian.net/browse/HHH-15597?atlOrigin=eyJpIjoiOTQ5YT...
)
Re: Unable to enhance class with Hibernate 6 Gradle plugin (
https://hibernate.atlassian.net/browse/HHH-15597?atlOrigin=eyJpIjoiOTQ5YT...
)
I just tried to remove the id 'org.graalvm.buildtools.native' version
'0.9.14' plugin which in turn disables Spring Boot 3 AOT transformation. As a
result, I have a pure Spring Boot 3 + Hibernate project usable on the JVM with nothing
specific. I am also using a recent Liberica JDK ( sdk use java 17.0.4.1-librca ) and when
running./gradlew clean compileJava I get the same Unable to enhance class :
com.example.data.jpa.CLR error. So unless I miss something, looks like at least Spring
Boot 3 + Java 17 + Hibernate 6 + enhancer plugin use case is broken.
This application seems pretty standard, I don’t think we do something special here. The
fact that this is working with Maven Hibernate 6 plugin but not the Gradle one + the fact
we had similar use case working with Hibernate 5 Gradle plugin make me think that’s a
regression of Hibernate 6 Gradle plugin.
(
https://hibernate.atlassian.net/browse/HHH-15597#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15597#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )