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

When class is annotated with @MappedSuperclass, its private fields can't be accessed from JPA with native image #2126

Closed
Tomas-Kraus opened this issue Jul 2, 2020 · 0 comments · Fixed by #2127
Assignees
Projects

Comments

@Tomas-Kraus
Copy link
Member

Environment Details

  • Helidon Version: 2.0.0
  • Helidon MP
  • JDK version: 11.0.7
  • GraalVM version: CE 20.1.0
  • OS: any

Problem Description

In JPA entity inheritance model, @MappedSuperclass is used to annotate abstract entities which are extended as @entity annotated persistence bean classes.
When @MappedSuperclass annotated class is used in native image it's private fields are not visible to Hibernate.

Steps to reproduce

jUnit test in tests/integration/jpa of bug fixing PR, run with -Pnative-image -Dnative-image arguments

@Tomas-Kraus Tomas-Kraus self-assigned this Jul 2, 2020
@barchetta barchetta added this to Needs triage in Backlog via automation Jul 2, 2020
@barchetta barchetta moved this from Needs triage to Normal priority in Backlog Jul 2, 2020
Backlog automation moved this from Normal priority to Closed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
  
Closed
2 participants