Skip to content

Commit

Permalink
Disable Hibernate reflection optimizer with native
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze authored and mdeinum committed Jun 29, 2023
1 parent bec9077 commit 71f954b
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -48,6 +48,7 @@ class SpringHibernateJpaPersistenceProvider extends HibernatePersistenceProvider
static {
if (NativeDetector.inNativeImage()) {
System.setProperty(Environment.BYTECODE_PROVIDER, Environment.BYTECODE_PROVIDER_NAME_NONE);
System.setProperty(Environment.USE_REFLECTION_OPTIMIZER, Boolean.FALSE.toString());
}
}

Expand Down

0 comments on commit 71f954b

Please sign in to comment.