JPA Annotation Attributein javax.persistence.Indexboolean unique default false (Optional) Whether the index is unique. Since:JPA 2.1