Reference Descriptor Field (Descriptor in Current Project)

Use the Reference Descriptor field to select the descriptor referenced by this relationship mapping.

Note: For one-to-one and one-to-many EIS mappings, the reference descriptor must be a root descriptor. See "Configuring an EIS Descriptor as a Root or Composite Type".

Reference Descriptor Field (Descriptor not in Current Project)

You can specify a reference descriptor that is not in the current TopLink Workbench project. For example, to create a mapping to an `Employee` class that does not exist in the current project, do the following:

1. Add the `Employee` class to your current project. See "Working With Projects".

2. Create the relationship mapping to the `Employee` descriptor.

3. Deactivate the `Employee` descriptor. See "Active and Inactive Descriptors".

When you generate the deployment XML for your project, the mapping to the `Employee` class will be included, but not the `Employee` class itself.

See Also

  Configuring Reference Descriptors