With the TopLink Mapping editor, you can create both unidirectional or bidirectional one-to-many (1:M) mappings between CMP EJBs. These mappings can be either privately owned or independent.
If the one-to-many mapping is not read-only, the foreign key is stored on the target and must be updated when writing the object. This requires you to:
or
To create a one-to-many mapping:
Use this procedure to create a one-to-many mapping.
Figure 6-8 One-to-many mapping General Properties
Figure 6-9 One-to-Many Mapping Collection Options
Figure 6-10 One-to-Many Mapping Collection Options
Copyright © 1997, 2004, Oracle. All rights reserved.