JPA Enum Constant
in jakarta.persistence.GenerationType

SEQUENCE


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

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

Since:
JPA 1.0