title: Unknown column 'DISCRIMINATOR' in 'field list'
body: <p>I am trying to run an example of <code>Inheritance type SINGLE TABLE</code> in <code>Hibernate</code>. However While persisting <code>cat</code> and <code>dog</code> I am getting the below error:</p>
  
  <pre><code>Unknown column 'DISCRIMINATOR' in 'field list'
  </code></pre>
  
  <p>Below are my entities</p>
  
  <p><strong>Animal</strong></p>
  
  <pre><code>@Entity
  @Inheritance(strategy=InheritanceType.SINGLE_TABLE)
  @DiscriminatorColumn(name="DISCRIMINATOR",discriminatorType=DiscriminatorType.STRING)
  @DiscriminatorValue("Animal")
  
  public abstract class Animal {
  
      @Id
      @GeneratedValue(strategy=GenerationType.AUTO)
  
      int id;
      String name;
      public int getId() {
          return id;
      }
      public void setId(int id) {
          this.id = id;
      }
      public String getName() {
          return name;
      }
      public void setName(String name) {
          this.name = name;
      }
  
  
      public abstract void makeNoise();
  
  
  
  
  }
  </code></pre>
  
  <p><strong>Dog</strong></p>
  
  <pre><code>@Entity
  @DiscriminatorValue(value="Dog") 
  
  public class Dog extends Animal{
  
      @Override
      public void makeNoise() {
  System.out.println("woof woof");        
      }
  
  }
  </code></pre>
  
  <p><strong>Cat</strong></p>
  
  <pre><code>@Entity
  @DiscriminatorValue(value="Cat") 
  public class Cat extends Animal {
  
  
  
  
  
      @Override
      public void makeNoise() {
  System.out.println("meow meow");        
      }
  
  }
  </code></pre>
  
  <p><strong>DDL for Animal</strong></p>
  
  <pre><code>insert into Animal (name,DISCRIMINATOR) values (?, 'Cat')
  </code></pre>