Thanks for the workaround! This unfortunately doesn’t suite our coding guidelines. What I did yesterday was trying to reproduce this with hibernate again which was successful! https://github.com/jan-schumacher/KotlinJpaInheritanceIssue/tree/main/hibernate-orm-6 Feel free to add this as a Bug Testcase to the issue. https://github.com/jan-schumacher/KotlinJpaInheritanceIssue/blob/main/hibernate-orm-6/src/test/kotlin/bugs/JPAUnitTestCase.kt This testcase proves that hibernate already doesn’t load the entity correct. |