Skip Headers
Oracle® TopLink Developer's Guide
10g Release 3 (10.1.3.1.0)

Part Number B28218-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

27 Configuring an Object-Relational Descriptor

This chapter describes the various components that you must configure to be able to use an object-relational descriptor.

For more information, see the following:

Table 27-1 lists the configurable options for a relational descriptor.

Object-Relational Descriptor Configuration Overview

Table 27-1 lists the configurable options for an object-relational descriptor.

Configuring Field Ordering

If your object-relational data source driver uses JDBC indexed arrays, you can specify the order in which TopLink persists object attributes to define the field index.

Using Java

Use ObjectRelationalDescriptor method addFieldOrdering to specify the field ordering. Example 27-1 shows how to specify the order of the object-relational database fields OBJECT_ID, F_NAME, and L_NAME for the Employee descriptor.

Example 27-1 Field Ordering

descriptor.addFieldOrdering("ID");
descriptor.addFieldOrdering("F_NAME");
descriptor.addFieldOrdering("L_NAME");