|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface ManyToOne
Specifies a single-valued association to another entity that has many-to-one multiplicity. It is not normally necessary to specify the associated target entity explicitly since it can usually be inferred from the type of the object being referenced.
Optional Element Summary | |
---|---|
String |
alias
The alternative name for this attribute. |
CascadeType[] |
cascade
Specifies which operations must be cascaded to the target of the association. |
FetchType |
fetch
Suggestion to the projector on how to retrieve the data for this association. |
Class |
targetEntity
The target class of the association. |
public abstract String alias
public abstract Class targetEntity
public abstract CascadeType[] cascade
public abstract FetchType fetch
The EAGER strategy instructs the projector to eagerly fetch the data. The LAZY strategy is a hint to the projector to lazily fetch the data when it is first accessed.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |