I have an abstract Person class and an Employee class that extends Person. Person defines the id field with strategy=GenerationType.IDENTITY. As Employee extends Person, Employee doesnt explicitly define an ID field (but the database has one).
I'm using the @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) annotation in the Person entity.
When trying to create a person, I'm getting the error, "Cannot insert the value NULL into column 'ID', table Employee." - Is this scenario supported?
I'm also trying to use a @MappedSuperClass - it seems that Avaje insists on a dtyle (discriminator) column even for classes that extend that class.