ObjectDB ObjectDB

SecondaryTable.uniqueConstraints - JPA annotation element

Annotation Element
javax.persistence.SecondaryTable
UniqueConstraint[] uniqueConstraints

(Optional) Unique constraints that are to be placed on the table. These are typically 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.

Default value:
{}
Since:
JPA 1.0