Skip Headers

# Understanding the Cache

Previous

Next

The TopLink cache is an in-memory repository that stores recently read or written objects based on class and primary key values. TopLink uses the cache to do the following:

- Improve performance by holding recently read or written objects and accessing them in-memory to minimize database access

- Manage locking and isolation level

- Manage object identity

This section describes the following:

- Cache Architecture

- Cache Concepts

- Understanding the Cache API