JPA Annotation Attribute
in jakarta.persistence.Table

Index[] indexes default {}


(Optional) Indexes for the table. These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index is created automatically.
Since:
JPA 2.1