Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/Basic JPA Development/Caching/Caching Overview"
m |
m |
||
Line 32: | Line 32: | ||
{{EclipseLink_JPA | {{EclipseLink_JPA | ||
|previous= [[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching|Caching]] | |previous= [[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching|Caching]] | ||
− | |next=[[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching/Cache Annotation|@Cache | + | |next=[[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching/Cache Annotation|@Cache]] |
|up=[[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching|Caching]] | |up=[[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Caching|Caching]] | ||
|version=2.2.0 DRAFT}} | |version=2.2.0 DRAFT}} |
Revision as of 11:23, 4 May 2011
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
Key API
Examples
Caching Overview
The EclipseLink cache is an in-memory repository that stores recently read or written objects based on class and primary key values. EclipseLink 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.
For more information about the EclipseLink cache and its default behavior, see Introduction to Cache.
EclipseLink defines the following entity caching annotations:
- @Cache
- @TimeOfDay
- @ExistenceChecking
EclipseLink also provides a number of persistence unit properties that you can specify to configure the EclipseLink cache (see How to Use the Persistence Unit Properties for Caching). These properties may compliment or provide an alternative to the usage of annotations.
For more information, see the following:
- What You May Need to Know About Overriding Annotations in JPA
- What You May Need to Know About Using EclipseLink JPA Persistence Unit Properties
Caching | @Cache | |
EclipseLink Home
JPA User Guide: Table of Contents, Search |
||
How to contribute to this guide... |