Oracle® Application Development Framework Developer's Guide 10g (10.1.3.1.0) Part Number B28967-01 |
|
|
View PDF |
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.
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.