|
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
An EIS composite object mapping maps a Java object to a privately owned one-to-one relationship in an EIS record according to its descriptor's record type, as shown in Table 56-4.
Table 56-4 EIS Composite Object Mapping by EIS Record Type
| EIS Record Type | Mapping Behavior |
|---|---|
|
Indexed |
Maps directly to a subrecord in the indexed recordFoot 1 . |
|
Mapped |
Maps directly to a subrecord in the mapped recordFootref 1. |
|
XML |
Maps directly to an attribute or text node in the XML recordFoot 2 . |
Footnote 1 See also "Composite EIS Mappings".
Footnote 2 See also "XML Composite Object Mapping".
Figure 56-6 illustrates a composite object EIS mapping between Order class attribute address and an XML record. Order attribute address is mapped to an XML record composed of an order element that contains an address element.
Figure 56-6 EIS Composite Object Mappings
You can use an EIS composite object mapping with a change policy (see "Configuring Change Policy".
See Chapter 60, "Configuring an EIS Composite Object Mapping" for more information.