title: Tiny int of MySQL to Integer in Java
body: <p>I have an <code>tiny int</code> column in MySQL. I want to convert it into int type of java.</p>
  
  <p>So if I mention the column in my hibernate entity as</p>
  
  <pre><code>@Column(name="Columname")
  private int something;
  </code></pre>
  
  <p>Will it cause an error as tiny int needs boolean type or will it get cast into int?</p>
  
  <p>This code will be changed in production Db hence I cannot check it to see if it breaks.</p>