What is the proper way to have an abstract class A, inherited by abstract class B, inherited by class C using Hibernate and Spring Boot?
@Entity
@Inheritance
abstract class A{}
@Entity
@Inheritance
abstract class B extends A{}
@Entity
@Inheritance
final class C entends B{}
The problem is I have an exception "Caused by: org.postgresql.util.PSQLException: ERROR: column something(from class A) does not exist". Are my annotations wrong?
@MappedSuperclass? Also, entities shouldn't befinal