org.apache.openjpa.persistence.jdbc
Annotation Type Unique


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Unique

Unique constraint definition.

Since:
0.4.0
Author:
Abe White

Optional Element Summary
 String[] columnNames
           
 boolean deferred
           
 boolean enabled
           
 String name
           
 

name

public abstract String name
Default:
""

enabled

public abstract boolean enabled
Default:
true

deferred

public abstract boolean deferred
Default:
false

columnNames

public abstract String[] columnNames
Default:
{}


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.