Annotation Type ElementForeignKey


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface ElementForeignKey
    Foreign key on array, collection, or map element columns.
    Since:
    0.4.0
    Author:
    Abe White
    • Element Detail

      • name

        java.lang.String name
        Default:
        ""
      • enabled

        boolean enabled
        Default:
        true
      • deferred

        boolean deferred
        Default:
        false
      • deleteAction

        ForeignKeyAction deleteAction
        Default:
        org.apache.openjpa.persistence.jdbc.ForeignKeyAction.RESTRICT
      • updateAction

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