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


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

Foreign key definition.

Since:
0.4.0
Author:
Abe White

Optional Element Summary
 String[] columnNames
           
 boolean deferred
           
 ForeignKeyAction deleteAction
           
 boolean enabled
           
 String name
           
 boolean specified
           
 ForeignKeyAction updateAction
           
 

name

public abstract String name
Default:
""

enabled

public abstract boolean enabled
Default:
true

deferred

public abstract boolean deferred
Default:
false

deleteAction

public abstract ForeignKeyAction deleteAction
Default:
RESTRICT

updateAction

public abstract ForeignKeyAction updateAction
Default:
RESTRICT

columnNames

public abstract String[] columnNames
Default:
{}

specified

public abstract boolean specified
Default:
true


Copyright © 2006 Apache Software Foundation. All Rights Reserved.