Sanneon Stack Overflow • Recommends
On “Is Hibernate ORM compatible with GraalVM native image compilation?”
( Disclaimer: I'm one of those who made Hibernate ORM work on GraalVM native images, by creating the Quarkus Extensions. I'm also leading the Hibernate R&D team. )
Thank you for this opportunity in writing up a bit of history :)
Initially we were not using Quarkus as it didn't exist yet.
My initial prototypes were just patching Hibernate ORM and piling up many, many compiler switches to be passed to the native-image tool, hardcoded in bash scripts, until I would get my demo application working.
The problem with that approach is that many such flags actually depend on a combination of internal knowledge of Hibernate ORM, AND specifics of your domain model, your configuration details,…