title: difference between native and increment id generator type
body: <p>What is the basic difference between when we use <code>native</code> and <code>increment</code> types id generator in hibernate. </p>
  
  <p>As i was having a entity, in which the generator was previuosly <code>native</code>, but then changed it to <code>incremental</code> for some time, it was working properly. But just yesterday, when i changed in to <code>native</code> again, the insertion is failing saying <code>Contraint Violation</code>.</p>
  
  <p>I have index set up in the <code>id</code> field, which is auto generated.</p>
  
  <p>Am i missing something here.</p>
  
  <p>Thanks</p>