| Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
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.
Use ObjectRelationalDescriptor method addFieldOrdering to specify the field ordering. Example 30-1 shows how to specify the order of the object-relational database fields OBJECT_ID, F_NAME, and L_NAME for the Employee descriptor.