org.hibernate.annotations
@Target(value={FIELD,METHOD,TYPE}) @Retention(value=RUNTIME) public @interface ForeignKey
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Name of the foreign key.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
inverseName
Used for the non-owning side of a ManyToMany relationship.
|
public abstract java.lang.String name
public abstract java.lang.String inverseName
Copyright © 2014. All Rights Reserved.