Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
The API to configure query key associations is oracle.toplink.mappings.VariableOneToOneMapping
method addForeingQueryKeyName(String, String)
.
To specify the query keys used for a variable one-to-one mapping, use this procedure:
Select the variable one-to-one mapping in the Navigator. Its attributes appear in the Editor.
Click the Query Key Associations tab. The Query Key Associations tab appears
Use the following information to enter data in each field on the tab:
Use the Indicator Type to specify the data type of the class indicator field by selecting the data type from the list.
Field | Description |
---|---|
Foreign Key | The field from the database table to use as the foreign key in this relationship. |
Query Key Name | The name of the query key (from the referenced descriptor) for this association. See "Configuring Query Keys" for more information. |