Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
Certain object-relational mappings require the specification of the data type or structure name of the field being mapped. The structure name is the name of the array or table type that defines the field.
Table 50-6 summarizes which object-relational mappings support this option.
Table 50-6 Mapping Support for Structure Name
Use the object-relational mapping method setStructureName
to specify the structure of the attribute being mapped.
Example 50-4 shows how to use this method with an ObjectArrayMapping
that maps the Employee
class attribute phones
to database field name PHONE_NUMBERS of type PHONE_ARRAY_TYPE
.