Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring Key Converters

If the key's object value and database value are different types, use a converter. TopLink supports the following key converters:

Using TopLink Workbench

Use this procedure to specify the converter for a direct map mapping key:

  1. Select the mapped attribute in the Navigator. Its properties appear in the Editor.

  2. Click the Converter tab. The Converter tab appears.

  3. Click the Key Converter tab. The Key Converter tab appears.

    Figure 46-3 Converter – Key Converter Tab

    Description of Figure 46-3  follows
    Description of "Figure 46-3 Converter – Key Converter Tab"

Use the following information to select the converter for the direct map mapping key:

Converter Description
No Converter Do not use a Key Converter for this mapping.
Serialized Object Converter See "Configuring a Serialized Object Converter".
Type Conversion Converter See "Configuring a Type Conversion Converter".
Object Type Converter See "Configuring an Object Type Converter".