Skip Headers

# Using TopLink Sessions

Previous

Next

When using TopLink 10g (10.1.3.1.0) with Oracle JDeveloper, you should be aware that you cannot configure all `sessions.xml` options with the JDeveloper mapping editor.

To configure supported options (prior to 10g (10.1.3.1.0)), use the JDeveloper mapping editor. For details, refer to the JDeveloper online help at:

To configure the new TopLink 10g (10.1.3.1.0) options, including, cache coordination options (see Configuring a Coordinated Cache), historical sessions (see Configuring Historical Sessions), and connection policy for server sessions (see "Configuring Connection Policy") use one of the following methods:

- Use a `SessionEventListener.preLogin(SessionEvent)` method

- When accessing the session from the session manager, request it with the `loggedIn` option set to `false`. The returned session can then be customized and you can invoke login.