I learn so many documents and site regarding hibernate auto id generation.
Its good experience for me to know about the functionality and all but littler confuse with the use of the ids.
I need proper explanation on these ids in a simpler way so that I can able to choose and use in my application in proper way.
All generators implement the interface org.hibernate.id.IdentifierGenerator. This is a very simple interface. Some applications can choose to provide their own specialized implementations, however, Hibernate provides a range of built-in implementations.
The shortcut names for the built-in generators are as follows with a bit simple explanation hope you like this: