title: JPA inheritance Could not determine type for
body: <p>I have a simple JPA mapping but I keep getting a <code>Could not determine type for</code> exception. Setters and getters are omitted.</p>
  
  <pre class="lang-java prettyprint-override"><code>@Entity
  @Inheritance(strategy = InheritanceType.JOINED)
  public class SupervisionCommand {
  
      @Id
      @GeneratedValue
      protected Long id;
  
  }
  
  @Entity
  public class MySupervisionCommand extends SupervisionCommand {
  
  }
  
  @Entity
  public class Job {
  
      @Id
      @GeneratedValue
      private Long id;
  
      private SupervisionCommand command;
  
  }
  </code></pre>
  
  <p>The full exception message: <code>Could not determine type for: com.family.model.SupervisionCommand, at table: job, for columns: [org.hibernate.mapping.Column(command)]</code></p>