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