@Target({TYPE,FIELD,METHOD})
@Retention(RUNTIME)
public @interface Unique
Modifier and Type | Optional Element | Description |
---|---|---|
Column[] |
columns |
Columns that compose this unique constraint.
|
java.lang.String |
deferred |
Whether this unique constraint is deferred until commit.
|
java.lang.String[] |
members |
Member (field and property) names that compose this unique constraint.
|
java.lang.String |
name |
Name of the unique constraint.
|
java.lang.String |
table |
Table for the unique constraint.
|
java.lang.String name
java.lang.String table
java.lang.String deferred
java.lang.String[] members
Column[] columns