An AbstractClass annotated with @MappedSuperClass contains an @Embedded private field (with public getter and setter). A ConcreteClass extends this AbstractClass. (See attached project).
While executing the enhanced on that project, I get the following error:
If I replace the @Embedded field with a simple integer. There is no problem to enhance the class.
, thanks for the failing test case. I see that the test passes if I comment out @Embedded on AbstractClass#range.
Your test only does enhancement. Can you check if the enhanced classes work properly with @Embedded removed?
This works properly if I remove the @Embedded. Thanks for the workaround.