We have following structure in our project:
abstact class X
abstract class Y
X, Y, Z are Entities. X Entity has Inheritance.JOINED and @DicriminatorColumn("INTH_TYPE);
On persistence record is populated correct with generated discrimiantor column in table defined in X Entity.
Exception appears on querying records from Db using Y Entity as EntityClass from EntityManager. Here is a test on Maven.
H2, Oracle Database