Oracle® Application Development Framework Developer's Guide
10g Release 3 (10.1.3) B25386-01 |
|
![]() Previous |
![]() Next |
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.
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:
Right-click the sessions.xml
file in the Navigator window and select Create Data Control.
On the TopLink Data Control dialog, select the TopLink Map option.
Figure 19-5 Creating a TopLink Data Control (from a TopLink Map)
Select the specific TopLink map.
Select the specific sessions configuration file (or create a new configuration) and session. You can create a data control for any mapped classes.