JPA Annotation Attribute
in javax.persistence.Index

boolean unique default false


(Optional) Whether the index is unique.
Since:
JPA 2.1