Skip Headers

Build the sessions.xml File

Previous
Previous
 
Next
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.

Show me...

  1. Right-click the sessions.xml node in Applications Navigator and select Open. The Sessions.xml properties page appears in the Mapping editor.

  2. 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.

  3. Save the sessions.xml file in the <ADVANCED_TUTORIAL_HOME>/src/META-INF directory.

  4. 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.

    Logging Tab

    Logging tab.