|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface ForeignCollectionField
Annotation that identifies a ForeignCollection
field in a class that corresponds to objects in a foreign
table that match the foreign-id of the current class.
@ForeignCollection(id = true) private ForeignCollection<Order> orders;
Optional Element Summary | |
---|---|
boolean |
eager
Set to true if the collection is a an eager collection where all of the results should be retrieved when the parent object is retrieved. |
public abstract boolean eager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |