JPA Annotation Attributein javax.persistence.SecondaryTableIndex[] indexes default {} (Optional) Indexes for the table. These are only used if table generation is in effect. Since:JPA 2.1