You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (JIRA)" <ji...@apache.org> on 2019/07/09 14:35:00 UTC

[jira] [Updated] (CAY-2589) Allow optionally using a local query cache that is separate from the shared query cache.

     [ https://issues.apache.org/jira/browse/CAY-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Huss updated CAY-2589:
---------------------------
    Fix Version/s:     (was: 4.2.M1)

> Allow optionally using a local query cache that is separate from the shared query cache.
> ----------------------------------------------------------------------------------------
>
>                 Key: CAY-2589
>                 URL: https://issues.apache.org/jira/browse/CAY-2589
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 4.2.M1
>            Reporter: John Huss
>            Assignee: John Huss
>            Priority: Minor
>              Labels: querycache
>
> Allow optionally using a local query cache that is separate from the shared query cache.
> The local query cache can be customized by creating a custom DataContextFactory.
> A separate cache can prevent memory leaks from occurring if you used non-expiring cacheĀ groups (like the default cache group perhaps) along with the local cache, which wasn'tĀ intuitive if you expected the lifetime of the cache to match the lifetime of the ObjectContext.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)