title: Hibernate Inheritance and Spring Boot
body: <p>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?</p>
  
  <pre><code>@Entity 
  @Inheritance 
  abstract class A{} 
  
  @Entity
  @Inheritance
  abstract class B extends A{}
  
  @Entity 
  @Inheritance 
  final class C entends B{} 
  </code></pre>
  
  <p>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?</p>