@Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) @Repeatable(value=Uniques.class) public @interface Unique
Modifier and Type | Optional Element and Description |
---|---|
Column[] |
columns
Columns that compose this unique constraint.
|
String |
deferred
Whether this unique constraint is deferred until commit.
|
Extension[] |
extensions
Vendor extensions.
|
String[] |
members
Member (field and property) names that compose this unique constraint.
|
String |
name
Name of the unique constraint.
|
String |
table
Table for the unique constraint.
|
public abstract String name
public abstract String table
public abstract String deferred
public abstract String[] members
public abstract Column[] columns
public abstract Extension[] extensions
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.