title: Which datatype for generated @Id in hibernate and postgres?
body: <p>Which datatype should be used if a generated ID is required?</p>
  
  <pre><code>@Id
  @GeneratedValue(strategy = GenerationType.AUTO)
  private long/Lang/int/Integer id;
  </code></pre>
  
  <p>Which one should/could be prefered, and why?</p>