Build the sessions.xml File |
![]() Previous |
![]() Next |
Each TopLink project belongs to a TopLink session. A session is the facade through which an application accesses TopLink functionality. This session information is stored in the sessions.xml file.
For more information, see "Understanding TopLink Sessions" in Oracle Toplink Developer's Guide.
Right-click the sessions.xml node in Applications Navigator and select Open. The Sessions.xml properties page appears in the Mapping editor.
Select the default session in the Structure widow. The default session properties page appears in the Mapping editor. Use this table to enter data in each field on the tab:
| Field | Description |
|---|---|
| Session Type | Server |
| TopLink Map Type | Select TopLink Project, then select the tlMap1. |
Save the sessions.xml file in the <ADVANCED_TUTORIAL_HOME>/src/META-INF directory.
Click the Logging tab. In the Enable Logging field, select True.
For more information on the available logging options, see "Setting the Logging Properties" in Oracle JDeveloper Documentation.