91 Configuring Server Sessions

This chapter describes the various components that you must configure to use server and client sessions.

This chapter includes the following sections:

Table 91-1 lists the configurable options for server sessions.

91.1 Introduction to Server Session Configuration

Table 91-1 lists the configurable options for server sessions.

Table 91-1 Configurable Options for Server Sessions

Option to Configure Oracle JDeveloper
TopLink Workbench
Java

Internal connection pools (see Section 91.2, "Configuring Internal Connection Pools")

Supported Supported Supported

Primary mapping project (see Section 89.2, "Configuring a Primary Mapping Project")

Supported Supported Supported

Session login (see Section 89.3, "Configuring a Session Login")

Supported Supported Supported

Logging (see Section 89.4, "Configuring Logging")

Supported Supported Supported

External connection pools (see Section 91.3, "Configuring External Connection Pools")

Supported Supported Supported

Multiple mapping projects (see Section 89.5, "Configuring Multiple Mapping Projects")

Supported Supported Supported

Performance profiler (see Section 89.6, "Configuring a Performance Profiler")

Supported Supported Supported

Exception handler (see Section 89.7, "Configuring an Exception Handler")

Supported Supported Supported

Session customizer class (see Section 89.8, "Configuring a Session Customizer Class")

Supported Supported Supported

Server platform (see Section 89.9, "Configuring the Server Platform")

Supported Supported Supported

Session event listener (see Section 89.10, "Configuring Session Event Listeners")

Supported Supported Supported

Coordinated cache (see Section 103, "Configuring a Coordinated Cache")

Supported Supported Supported

Integrity checker (see Section 89.11, "Configuring the Integrity Checker")

Supported Supported Supported

Named queries (see Section 89.13, "Configuring Named Queries at the Session Level")

Unsupported Unsupported Supported

91.2 Configuring Internal Connection Pools

An internal connection pool is a collection of reusable connections to a single data source provided by any session that persists to a data source. By default, such a session provides both an internal read and write connection pool.

In this case, you can do the following:

  • Configure read and write connection pool options such as minimum and maximum number of connections, alternate connection configuration, and properties (arbitrary, application-specific named values).

  • Create named connection pools for whatever application-specific purpose you choose.

  • Create sequence connection pools that TopLink uses exclusively for obtaining object identifiers.

For more information about creating and configuring internal connection pools, see the following:

For more information about configuring the type of connection pool your session uses, see Section 97.4, "Configuring External Connection Pooling".

91.3 Configuring External Connection Pools

An external connection pool is a collection of reusable connections to a single data source provided by a JDBC driver or Java EE container.

By default, a session uses internal connection pools (see Section 91.2, "Configuring Internal Connection Pools"). For more information about configuring a session to use an external connection pool, see Section 97.4, "Configuring External Connection Pooling".