Skip to content
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

Add a reproducer for spring-projects/spring-framework#31050 #188

Closed

Conversation

sdeleuze
Copy link
Collaborator

The related error happen with Hibernate 6.2 with custom find methods on non-transactional use cases.

See spring-projects/spring-framework#31050 for more details.

@mhalbritter Up to you to decide if you merge it now or if you wait Spring Framework 6.0.12 which will contains the fix.

The related error happen with Hibernate 6.2 with
custom find methods on non-transactional use cases.
sdeleuze added a commit to sdeleuze/spring-framework that referenced this pull request Aug 16, 2023
This commit contributes proxy hints needed by
SharedEntityManagerCreator for
org.hibernate.query.sqm.internal.QuerySqmImpl interfaces.

Until Hibernate 6.1, those hints were erroneously provided
at GraalVM reachability metadata level. As of Hibernate 6.2,
they are not, hence the need to contribute them at Spring
Framework level.

A related smoke test has been contributed via
spring-projects/spring-aot-smoke-tests#188.

Closes spring-projectsgh-31050
@mhalbritter mhalbritter self-assigned this Aug 17, 2023
@mhalbritter
Copy link

LGTM. I'll merge it as soon as SF 6.0.12 is released.

@sdeleuze
Copy link
Collaborator Author

I added a reproducer for spring-projects/spring-framework#29603 as well.

sdeleuze added a commit to sdeleuze/spring-framework that referenced this pull request Aug 18, 2023
This commit contributes proxy hints needed by
SharedEntityManagerCreator for
org.hibernate.query.sql.internal.NativeQueryImpl interfaces.

A related smoke test has been contributed via
spring-projects/spring-aot-smoke-tests#188.

Closes spring-projectsgh-29603
wilkinsona pushed a commit that referenced this pull request Sep 21, 2023
The related error happen with Hibernate 6.2 with
custom find methods on non-transactional use cases.

See gh-188
@wilkinsona wilkinsona self-assigned this Sep 21, 2023
@wilkinsona
Copy link
Member

Thanks, @sdeleuze. I've merged this into both 3.0.x and main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants