Hibernate automatically generates unique identifiers for entities based on the configured generator strategy (like 'increment', 'native', 'uuid', etc.). This is a core feature of Hibernate - you don't need to manually generate or manage primary keys. The framework handles this through the element in mapping files or annotations.