Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2) Part No. B15900-01 |
|
Previous |
Next |
This section includes information on customizing the following aspects of the OracleAS TopLink Mapping Workbench:
Use the General preferences to customize the Òlook and feelÓ (the graphical user interface) of the OracleAS TopLink Mapping Workbench.
To Change the General Preferences:
Click the Preferences button on the toolbar. The Preferences dialog appears.
You can also display the Preferences dialog box by choosing Tools > Preferences from the menu.
Use this table to enter data in each field and click OK.
You must restart the OracleAS TopLink Mapping Workbench to apply the changes.
Figure 1–8 shows the following Òlook and feelÓ samples:
Oracle
Windows
Metal (Java)
CDE/Motif
Use the Warnings preferences to specify if the OracleAS TopLink Mapping Workbench displays certain warning and confirmation dialog boxes.
To Specify Warnings Preferences:
Description of the illustration prefbtn.gif
Click the Preferences button on the toolbar. The Preferences dialog box appears.
You can also display the Preferences dialog box by choosing Tools > Preferences from the menu.
Use this table to enter data in each field and click OK.
Field | Description |
---|---|
Show All Warning and Confirmation Dialogs | Specify which (if any) of the following confirmation and warning messages are displayed. |
Descriptors Without an Associated Table | Specify if the OracleAS TopLink Mapping Workbench displays a warning message if you attempt to create a table reference before defining the descriptor's associated table. |
Direct Mappings Without a Database Field | Specify if the OracleAS TopLink Mapping Workbench displays a warning message if you attempt to create a table reference for a direct collection mapping before mapping's direct field and target table. |
Mappings Without a Reference Descriptor | Specify if the OracleAS TopLink Mapping Workbench displays a warning message if you attempt to create a mapping before defining a reference descriptor. |
Aggregate Descriptors Without Mapped Attributes | Specify if the OracleAS TopLink Mapping Workbench displays a warning message if you attempt to create field references for an aggregate mapping before mapping the aggregate descriptor's attributes. |
Mappings Without a Relation Table | Specify if the OracleAS TopLink Mapping Workbench displays a warning message if you attempt to create a table reference for a many-to-many mapping before defining the mapping's relation table. |
Define Reference Descriptor First | Specify if the OracleAS TopLink Mapping Workbench displays a warning message if you attempt to create a table reference before defining the mapping's reference descriptor. |
Invalid or Incomplete Data | Specify if the OracleAS TopLink Sessions Editor displays a warning message if your session configuration contains invalid or incomplete data. |
Use this procedure to specify how the OracleAS TopLink Mapping Workbench imports and edits classes. See "Working with Classes" on page 2-13 for more information.
To Specify Class Import Options:
Description of the illustration prefbtn.gif
Click the Preferences button on the toolbar. The Preferences dialog box appears.
You can also display the Preferences dialog box by choosing Tools > Preferences from the menu.
Select Class in the Category pane.
Select Never Verify Classes in Chooser if you do not want to verify the classes when performing an Add or Refresh.
Caution: By default, the OracleAS TopLink Mapping Workbench always verifies the classes. Select this option only if you encounter errors when displaying classes in the Select Classes dialog box. |
Specify how the OracleAS TopLink Mapping Workbench maintains classes when renaming or editing a zero-argument constructor.
Click OK.
Use this procedure to specify how the OracleAS TopLink Mapping Workbench updates the ejb-jar.xml
file when saving projects.
To Specify EJB Preferences:
Description of the illustration prefbtn.gif
Click the Preferences button on the toolbar. The Preferences dialog box appears.
You can also display the Preferences dialog box by choosing Tools > Preferences from the menu.
Specify whether the OracleAS TopLink Mapping Workbench prompts before updating the ejb-jar.xml
file when you save the project.
Click OK.
Use the Database preferences to specify custom database divers and connection URLs for the OracleAS TopLink Mapping Workbench. These drivers and URLs can then be used when defining database logins.
To Specify Database Preferences:
Description of the illustration prefbtn.gif
Click the Preferences button on the toolbar. The Preferences dialog appears.
You can also display the Preferences dialog box by choosing Tools > Preferences from the menu.
Use this table to enter data in each field and click OK.
To edit or remove an existing driver or URL, select the driver or URL and click Remove or Edit.
Use the Help preferences to select a Web browser to use the online help and Web-based support.
To Specify the Help Preferences:
Description of the illustration prefbtn.gif
Click the Preferences button on the toolbar. The Preferences dialog box appears.
You can also display the Preferences dialog box by choosing Tools > Preferences from the menu.
Use this table to enter data in each field and click OK.
Field | Description |
---|---|
Web Browser | Click Browse and select the location of your default Web browser. You must specify a Web browser to use the online help and Web-based support. |