[
https://issues.apache.org/cayenne/browse/CAY-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Malcolm Edgar closed CAY-925.
-----------------------------
Resolution: Fixed
Currently supported via Level 2 caching and query caching policies.
Level 2 (local VM) caching enabled, and then set caching policy as appropriate
for the query:
// For most of the queries
QueryMetadata.LOCAL_CACHE
// For cached lookup data
QueryMetadata.SHARED_CACHE
> Support Entity/Table scope caching
> ----------------------------------
>
> Key: CAY-925
> URL: https://issues.apache.org/cayenne/browse/CAY-925
> Project: Cayenne
> Issue Type: New Feature
> Components: Cayenne Core Library, CayenneModeler GUI
> Affects Versions: 3.0
> Reporter: Malcolm Edgar
> Assignee: Andrus Adamchik
>
> On most of our projects we do not use caching, because of the size of the
> databases, and or issues of multiple applications writing to the database.
> However one feature we would really like is to be able to specify that
> individual tables/entities are cached in memory by Cayenne.
> This is typically for UI lookup values which change very infrequently, or
> deployment properties which also change infrequently. By caching this
> information in memory we can significantly reduce the number of requests made
> to the database and improve application performance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.