TableGenerator.uniqueConstraints - JPA annotation element

Annotation Element
javax.persistence.TableGenerator
UniqueConstraint[] uniqueConstraints

(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 primary key constraints.

Defaults to no additional constraints.

Default value:
{}
Since:
JPA 1.0