Skip to content

fix: EXPOSED-995 Spring Boot starter native runtime failure missing reflection hint for some column types#2833

Open
Chantal Loncle (bog-walk) wants to merge 1 commit into
mainfrom
bog-walk/add-types-to-aot-contribution
Open

fix: EXPOSED-995 Spring Boot starter native runtime failure missing reflection hint for some column types#2833
Chantal Loncle (bog-walk) wants to merge 1 commit into
mainfrom
bog-walk/add-types-to-aot-contribution

Conversation

@bog-walk

Copy link
Copy Markdown
Member

Description

Summary of the change: Add some missing base column type classes to ExposedAotContribution.kt to further cover cases when KotlinReflectionInternalError might be thrown due to missing runtime hints.

Detailed description:

  • Why: When running Spring Boot starter as a GraalVM native image, runtime fails with KotlinReflectionInternalError for certain LongColumnType usages, as this class was not included in ExposedAotContribution.kt.

  • What: Added the reported missing type LongColumnType (to both spring boot modules), as well as some other base types that initially were excluded because it was assumed reflection would not be needed by them internally.


Type of Change

Please mark the relevant options with an "X":

  • Bug fix

Affected databases:

  • All

Checklist

  • Unit tests are in place <-- ❗ There are no integrated tests for GraalVM; this is tested with a project + mavenLocal
  • The build is green (including the Detekt check)
  • All public methods affected by my PR has up to date API docs
  • Documentation for my change is up to date

Related Issues

EXPOSED-995

…eflection hint for some column types

When running Spring Boot starter as a GraalVM native image, runtime fails with
KotlinReflectionInternalError for certain column types that were not included in
ExposedAotContribution. LongColumnType was the reported missing class, but multiple
other base types were added.
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.

1 participant