Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2) Part No. B15900-01 |
|
Previous |
Next |
OracleAS TopLink Mapping Workbench stores project information in the .mwp
file and associated folders. Always start an OracleAS TopLink Mapping Workbench project in a new folder.
To create a new project:
Start OracleAS TopLink Mapping Workbench. From the Windows Start menu, select Programs > OracleAS TopLink > Mapping Workbench.
The splash screen appears, followed by the OracleAS TopLink Mapping Workbench window.
Click the New Project button on the toolbar or select File > New Project from the menu. The Create a New Project dialog box appears.
From the Create New Project dialog box:
In the Database Name field, type INTRO_TUTORIAL_DB
.
In the Platform field, click Browse button and select the appropriate database platform. Contact your database administrator if you need additional information.
Click OK. The Save As dialog box appears.
Select the folder in which to save the Employee project.
In the File Name field, type Employee.mwp
.
Click Save to save your work and return to the OracleAS TopLink Mapping Workbench window.
Description of the illustration savebtn.gif
Click Save on the toolbar or select File > Save to save the project.
Note: OracleAS TopLink Mapping Workbench does not automatically save your work; remember to save periodically. |
Each OracleAS TopLink project uses a classpath—a set of directories, .jar
files, and .zip
files—when importing Java classes and defining object types. In this tutorial, you will use information from the OracleAS TopLink three tier example project. Refer to <ORACLE_HOME>
\toplink\doc\examples.htm
for complete information.
In the OracleAS TopLink Mapping Workbench, highlight the Employee
project in the Navigator pane.
In the Editor pane on the right-hand side of the OracleAS TopLink Mapping Workbench window, click the General tab.
Browse to the <ORACLE_HOME>
\toplink\examples\foundation\threetier\stage
directory and click OK.
Note: If thestage directory does not exist, you must create the OracleAS TopLink Three Tier example project. See "Before You Begin" for more information.
|
Click Save on the toolbar or choose File > Save to save the project.