JPA Enum Constant
in jakarta.persistence.GenerationType

IDENTITY


Indicates that the persistence provider must assign primary keys for the entity using a database identity column.

May be used to generate primary keys of type Long, Integer, long, or int.

Since:
JPA 1.0