Jakarta Persistence (JPA) Enum Constant

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:
Jakarta Persistence (JPA) 1.0