Skip Headers

# Object Cache

Previous

Next

TopLink sessions provide an object cache. This cache, known as the session cache, retains information about objects that are read from or written to the database, and is a key element for improving the performance of a TopLink application.

Typically, a server session's object cache is shared by all client sessions acquired from it. That is, for a Server session `myServerSession`, each client session acquired by calling server session method `acquireClientSession` shares the same object cache as `myServerSession`.

Isolated and historical sessions provide their own session cache isolated from the shared object cache of their parent server session. For more information, see "Isolated Client Sessions" and "Historical Sessions".

You can easily manage concurrent access to this shared cache by using a unit of work session acquired from any session. For more information, see "Unit of Work Sessions".

For more information, see "Sessions and the Cache".