[jira] Closed: (CAY-1019) Streamlining LOCAL_CACHE handling

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Apr 17 2008 - 14:34:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Updated: (CAY-1019) Streamlining LOCAL_CACHE handling"

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

    Andrus Adamchik closed CAY-1019.
    --------------------------------

        Resolution: Fixed

    > Streamlining LOCAL_CACHE handling
    > ---------------------------------
    >
    > Key: CAY-1019
    > URL: https://issues.apache.org/cayenne/browse/CAY-1019
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Fix For: 3.0
    >
    >
    > Per CAY-1013 I created a fix for a LOCAL_CACHE refreshing issue. Now trying to look at the bigger picture and address a related problem:
    > LOCAL_CACHE and multiple levels of nesting.
    > When we have a DataContext connected to the DataDomain, LOCAL_CACHE is what's cached at the DC level, shared - at the DD. If we have an ROP situation (CayenneContext -> DataContext -> DataDomain) or a nested DC situation (DataContext -> [DataContext]+ -> DataDomain), LOCAL_CACHE setting causes caching to occur all the way down to the last DC in a chain... This behavior is clearly wrong. Only the starting DC should cache query results.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Thu Apr 17 2008 - 14:38:04 EDT