title: How to choose the id generation strategy when using JPA and Hibernate
body: <p>I was going through Id generation section of the Hibernate reference guide and "java persistence with Hibernate"</p>
  
  <p>There are quite a few options available with Hibernate and JPA combined.</p>
  
  <p>I was looking for a further documentation on how to choose the specific id generation strategy.</p>
  
  <p>I am also looking for tipping points.</p>
  
  <p>For example, hilo strategy is expected to reduce contention. I am assuming there must be a trade off associated with this choice. </p>
  
  <p>I want to be educated about the trade offs.</p>
  
  <p>Is there any literature available? </p>