javax.persistence
Annotation Type UniqueConstraint


@Target(value={})
@Retention(value=RUNTIME)
public @interface UniqueConstraint

The @UniqueConstraint annotation.


Required Element Summary
 java.lang.String[] columnNames
           
 
Optional Element Summary
 java.lang.String name
           
 

Element Detail

columnNames

public abstract java.lang.String[] columnNames

name

public abstract java.lang.String name
Default:
""