title: Hibernate generator class increment vs sequence?
body: <p>I can see many generator classes at <a href="http://www.roseindia.net/hibernate/hibernateidgeneratorelement.shtml" rel="nofollow noreferrer">http://www.roseindia.net/hibernate/hibernateidgeneratorelement.shtml</a>
  for generating identifier. (Official list is here: <a href="http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/mapping.html#d0e5294" rel="nofollow noreferrer">http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/mapping.html#d0e5294</a>)</p>
  
  <p>But if I look at <code>increment</code> and <code>sequence</code>, they sound the same, I am not sure what the difference is and which is better?</p>