Generating TopLink Deployment Descriptors

To use your TopLink mapping information, you must generate a deployment descriptor. Ensure you have selected a Deployment Connection on the Database Info tab (see "Specifying Database Properties" ). JDeveloper will attempt to compile the source and review each mapping before generating the toplink-deployment-descriptor.xml.

To Create a TopLink Deployment Descriptor:

  1. Right-click TopLink Mappings in the Navigator and choose Generate toplink-deployment-descriptor.xml from the popup menu. The Generate TopLink Deployment Descriptor dialog appears.
    You can also generate a TopLink deployment descriptor by selecting TopLink | Generate toplink-deployment-descriptor.xml from the menu

    Figure 2-5 Generate TopLink Deployment Descriptor

    This figure shows the Generate TopLink Deployment Descriptor dialog.

  2. Review the status information on the Generate TopLink Deployment Descriptor dialog. Click Yes to generate the deployment descriptor. JDeveloper adds the toplink-deployment-descriptor.xml to the navigator.
    The deployment descriptor may include the table's schema names, depending on the Deployment Descriptor Generation setting on the Defaults tab.

    Figure 2-6 TopLink Deployment Descriptor

    This figure shows the toplink-deployment-descriptor.xml.


Related Topics

About TopLink Mapping Projects
 
Working with TopLink Mappings

 

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