Amending Descriptors After Loading

Some features cannot be configured from the TopLink Mapping editor. To use these features, you must write a Java method to amend the descriptor after it is loaded as part of the project. This method takes the descriptor as a single parameter. You can then send messages to the descriptor or any of its specific mappings to configure advanced features.

To Specify a Method to Execute After Loading the Descriptor:

  1. Select a descriptor in the Structure window. Its properties appear in the TopLink Mapping editor.
    If the After load advanced property is not visible for the descriptor, click the Advanced Properties button Advanced Properties button. in the Structure window and choose After Load.
  2. Click the After Load tab.

    Figure 4-11 After Load Tab

    This figure shows the After Load tab.

  3. Complete the information on the After Load Tab tab.

Related Topics

About TopLink Descriptors

Working with Descriptors
Working with Descriptor Properties
Working with Advanced Properties

 

Copyright © 1997, 2004, Oracle. All rights reserved.