Skip Headers
Oracle® Application Development Framework Developer's Guide
10g (10.1.3.1.0)

Part Number B28967-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

19.5 Using Multiple Maps with a TopLink Data Control

You can create multiple TopLink maps for use with each project. Each map can be associated with a specific database and connection, as shown inFigure 19-4.

Figure 19-4 Create Object Relational Map Dialog

This figure shows the Create Object Relational Map dialog

You can create a data control from a TopLink map, similarly to creating a data control from a sessions.xml file (see Section 19.4, "Using sessions.xml with a TopLink Data Control").

Use the TopLink Data Control dialog (as shown in Figure 19-5), select TopLink Map, and then select the specific map.

To create a TopLink data control from a TopLink map:

  1. Right-click the sessions.xml file in the Navigator window and select Create Data Control.

  2. On the TopLink Data Control dialog, select the TopLink Map option.

    Figure 19-5 Creating a TopLink Data Control (from a TopLink Map)

    Image shows TopLink Data Control page
  3. Select the specific TopLink map.

  4. Select the specific sessions configuration file (or create a new configuration) and session. You can create a data control for any mapped classes.