ObjectDB ObjectDB

CollectionTable.uniqueConstraints - JPA annotation element

Annotation Element
javax.persistence.CollectionTable
UniqueConstraint[] uniqueConstraints

(Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect.
Default value:
{}
Since:
JPA 2.0