title: Hibernate - How to provide right mapping to integer type?
body: <p>I'm executing my maven build and it throws this exception:</p>
  
  <p><code>Last cause: Wrong column type in x.clients for column type. Found: tinyint, expected: integer</code></p>
  
  <p>I'm mapping like this:</p>
  
  <pre><code>@Id
  @GeneratedValue(strategy = GenerationType.AUTO)
  private Integer id;
  </code></pre>
  
  <p>And I'm creating the column using InnoDB like this: <code>id int NOT NULL UNIQUE AUTO_INCREMENT</code></p>
  
  <p>Shouldn't this be ok? Why is it saying that he is finding tinyint?</p>