title: how to set H2 primary key id to auto_increment?
body: <p>i am using sql, H2, and i am trying to make so that the ID of Usertable is auto_incremented. i tried all sql commands in H2 sql interface, didnot work out. </p>
  
  <pre><code>alter table user alter column int not null auto_increment;
  </code></pre>
  
  <p>this common one is even not working. is there any annotation of JPA for auto_incement may be? </p>
  
  <p>thanks a lot</p>