JPA Annotation Attributein javax.persistence.CollectionTableUniqueConstraint[] uniqueConstraints default {} (Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. Since:JPA 2.0