Package jakarta.persistence
Annotation Interface UniqueConstraint
Specifies that a unique constraint is to be included in the
generated DDL for a primary or secondary table.
Example:
- Since:
- 1.0
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionString[]
(Required) The names of the column which make up the constraint. -
Optional Element Summary
-
Element Details
-
columnNames
String[] columnNames(Required) The names of the column which make up the constraint.
-
-