Skip Headers

Oracle® Application Development Framework Developer's Guide 10g Release 3 (10.1.3) B25386-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# 19.4 Using sessions.xml with a TopLink Data Control

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

Use the TopLink Data Control dialog (as shown in Figure 19-3), select TopLink Sessions Configuration, and then select the specific sessions configuration file (`sessions.xml`) and session.

To create a TopLink data control from a sessions configuration file (sessions.xml):

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 Sessions Configuration option.

   Figure 19-3 Creating a TopLink Data Control (from a Sessions Configuration)

   Description of "Figure 19-3 Creating a TopLink Data Control (from a Sessions Configuration)"

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