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


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

Foreign key on map key columns.

Since:
0.4.0, 1.1.0
Author:
Abe White

Optional Element Summary
 boolean deferred
           
 ForeignKeyAction deleteAction
           
 boolean enabled
           
 String name
           
 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:
org.apache.openjpa.persistence.jdbc.ForeignKeyAction.RESTRICT

updateAction

public abstract ForeignKeyAction updateAction
Default:
org.apache.openjpa.persistence.jdbc.ForeignKeyAction.RESTRICT


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