JPA Annotation Attribute
in javax.persistence.Table

UniqueConstraint[] uniqueConstraints default {}


(Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. These constraints apply in addition to any constraints specified by the Column and JoinColumn annotations and constraints entailed by primary key mappings.

Defaults to no additional constraints.

Since:
JPA 1.0