TopLink Wiki
Main
RecentChanges
Set your name in
UserPreferences
Referenced by
JSPWiki v2.0.52
|
When an object has a 1-M relationship, and the M side can get quite large, there is no need to map it. Only map the 1-1 relationship (the "back reference"). Large collections should be mapped asymetrically. forum:329665 E.g. consider a Catalog object, containing many (potentially millions of) Items. Logically the Catalog has a 1-M relationship with Item. The Item keeps a "back reference" to the Catalog. When adding a new item to a catalog, you only set the back reference, without adding it to the "items" collection in Catalog.
See Also
|
||||||