This chapter describes the various components that you must configure to be able to use an object-relational data type descriptor.
This chapter includes the following sections:
For information on how to configure TopLink descriptor options common to two or more descriptor types, see Chapter 119, "Configuring a Descriptor".
Table 26-1 lists the configurable options for a relational descriptor.
Table 26-1 lists the configurable options for an object-relational data type descriptor.
Table 26-1 Configurable Options for Object-Relational Data Type Descriptor
For more information, see Chapter 21, "Introduction to Relational Descriptors".
If your object-relational data type data source driver uses JDBC indexed arrays, you can specify the order in which TopLink persists object attributes to define the field index.
Use ObjectRelationalDescriptor
method addFieldOrdering
to specify the field ordering. Example 26-1 shows how to specify the order of the object-relational data type database fields OBJECT_ID
, F_NAME
, and L_NAME
for the Employee
descriptor.