Oracle® TopLink Developer's Guide 10g Release 3 (10.1.3.1.0) Part Number B28218-01 |
|
|
View PDF |
This chapter describes the various components that you must configure to use server and client sessions.
Table 76-1 lists the configurable options for server sessions.
Table 76-1 lists the configurable options for server sessions.
Table 76-1 Configurable Options for Server Sessions
Option | Type | TopLink Workbench |
Java |
---|---|---|---|
"Configuring Internal Connection Pools" |
Basic |
||
"Configuring a Primary Mapping Project" |
Basic |
||
|
Basic |
||
|
Basic |
||
"Configuring External Connection Pools" |
Advanced |
||
"Configuring Multiple Mapping Projects" |
Advanced |
||
"Configuring a Performance Profiler" |
Advanced |
||
"Configuring an Exception Handler" |
Advanced |
||
"Configuring Customizer Class" |
Advanced |
||
"Configuring the Server Platform" |
Advanced |
||
"Configuring Session Event Listeners" |
Advanced |
||
"Configuring a Coordinated Cache" |
Advanced |
||
"Configuring the Integrity Checker" |
Advanced |
||
"Configuring Named Queries at the Session Level" |
Basic |
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 "Configuring External Connection Pooling".
An external connection pool is a collection of reusable connections to a single data source provided by a JDBC driver or J2EE container.
By default, a session uses internal connection pools (see "Configuring Internal Connection Pools"). For more information about configuring a session to use an external connection pool, see "Configuring External Connection Pooling".