-
Notifications
You must be signed in to change notification settings - Fork 38.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing proxy hint when using a simple Spring Data JpaRepository
#31050
Comments
A bit surprised that such sample project fails, but I can indeed reproduce with the project provided. Adding a [
{
"interfaces":[
"org.hibernate.query.hql.spi.SqmQueryImplementor",
"org.hibernate.query.sqm.internal.SqmInterpretationsKey$InterpretationsKeySource",
"org.hibernate.query.spi.DomainQueryExecutionContext",
"org.hibernate.query.SelectionQuery",
"org.hibernate.query.CommonQueryContract"
]
}
] Since we have only Hibernate interfaces here, it should be provided on https://github.com/oracle/graalvm-reachability-metadata side. @mawabokasper Could you please create an issue (with your existing repro) on the reachability metadata repository? |
Thanx Sébastien The fix works for me too, appreciate the feedback. I've opened an issue on the graalvm-reachability-metadata side, oracle/graalvm-reachability-metadata#368 Regards |
After a second look, those proxies are created on Spring side by One tricky point is that we get that error because Hibernate reachability metadata for |
The related error happen with Hibernate 6.2 with custom find methods on non-transactional use cases.
Including a workaround for spring-projects/spring-framework#31050
Including a workaround for spring-projects/spring-framework#31050
Including a workaround for spring-projects/spring-framework#31050
Including a workaround for spring-projects/spring-framework#31050
Including a workaround for spring-projects/spring-framework#31050
Including a workaround for spring-projects/spring-framework#31050
The related error happen with Hibernate 6.2 with custom find methods on non-transactional use cases. See gh-188
* gh-188: Add a reproducer for spring-projects/spring-framework#29603 Add a reproducer for spring-projects/spring-framework#31050 Closes gh-188
JpaRepository
Affects: 6.0.11
I get the com.oracle.svm.core.jdk.UnsupportedFeatureError when using a simple repository.
The only workaround I've found so far is to run the native-image command with an agent, then rebuild my image
I have a git hub project to reproduce the issue on https://github.com/mawabokasper/graalvm-springdata-jpa-issue
, it's
Stacktrace
The text was updated successfully, but these errors were encountered: