Assume I have two classic non-abstract JPA classes: Person and Student.
@Entity @Inheritance(strategy = InheritanceType.JOINED) public class Person { @Id @Ge
As far as I know, there are no good ways to achieve it.
It would be much simplier if you model this situation as a Person that can have multiple roles Roles (one-to-many relationship), where Student is one of them (i.e. Student extends Role).
Person
Role
Student