ObjectDB ObjectDB

TableGenerator.uniqueConstraints - JPA annotation element

Annotation Element
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:
JPA 1.0