JPA Enum Constant
in jakarta.persistence.GenerationType

UUID


Indicates that the persistence provider must assign primary keys for the entity by generating an RFC 4122 Universally Unique IDentifier.

May be used to generate primary keys of type java.util.UUID or String.

Since:
JPA 1.0