Package org.hibernate.annotations
Annotation Type ForeignKey
-
@Target({FIELD,METHOD,TYPE}) @Retention(RUNTIME) @Deprecated public @interface ForeignKey
Deprecated.Prefer the JPA 2.1 introducedForeignKey
instead.Define the foreign key name.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
name
Deprecated.Name of the foreign key.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
inverseName
Deprecated.Used for the non-owning side of a ManyToMany relationship.
-