Skip Headers

# Internal Connection Pool Creation Overview

Previous

Next

You can create internal connection pools only for server sessions (not for any other session type, including database sessions).

You can create an internal connection pool using TopLink Workbench or Java code. Oracle recommends that you use TopLink Workbench to create and manage your internal connection pools. For more information, see "Using TopLink Workbench".

Alternatively, you can create internal connection pools in Java. For more information on creating sessions in Java, see the Oracle TopLink API Reference.

After you create an internal connection pool, you must configure its various options (see "Internal Connection Pool Configuration Overview").

After you create and configure a sequence connection pool, TopLink uses it whenever it needs to assign an identifier to a new object.

After you create and configure a named connection pool, you use it in your application by passing in a `ConnectionPolicy` when you acquire a client session (see "Acquiring a Client Session That Uses a Named Connection Pool").