Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16013 (
https://hibernate.atlassian.net/browse/HHH-16013?atlOrigin=eyJpIjoiZjI0Yz...
)
Re: Lazy loading fails with "Generation of HibernateProxy instances at runtime is not
allowed" when run as native (
https://hibernate.atlassian.net/browse/HHH-16013?atlOrigin=eyJpIjoiZjI0Yz...
)
Hi, I think this is a limitation of the runtime: Hibernate will need those proxies, and
it’s not allowed to create them since the BytecodeProvider has been disabled.
I’ve already resolved this issue for Quarkus, feel free to have a look:
https://hibernate.atlassian.net/browse/HHH-13804 (
https://hibernate.atlassian.net/browse/HHH-13804 ) ; essentially you need to ensure the
right proxies are generated upfront, so that the classes can then be compiled by GraalVM.
(
https://hibernate.atlassian.net/browse/HHH-16013#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16013#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#100214- sha1:01e0849 )