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


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

Foreign key on array, collection, or map element columns.

Since:
0.4.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-2011 Apache Software Foundation. All Rights Reserved.