[JIRA] Created: (CAY-577) Automatically invalidating cached lists when Cayenne commits changes that can affect the list

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Jun 22 2006 - 02:50:50 EDT

  • Next message: Andrus Adamchik: "New Tutorial"

    Automatically invalidating cached lists when Cayenne commits changes that can affect the list
    ---------------------------------------------------------------------------------------------

             Key: CAY-577
             URL: http://issues.apache.org/cayenne/browse/CAY-577
         Project: Cayenne
            Type: Improvement

      Components: Cayenne Core Library
        Versions: 3.0 [BRANCH]
        Reporter: Andrus Adamchik
         Fix For: 3.0 [BRANCH]

    Currently Cayenne has no mechanism to do automatic invalidation of query result caches (http://objectstyle.org/confluence/display/CAYDOC/Caching+Query+Results) on such events like object insertion or deletion. Users have to manage caches manually via refresh policy or Invalidate query (CAY-576).

    1.2 introduced generic query metadata, so we can actually do something smarter - when a new or deleted object is committed, we can find all cached lists for a given entity and either invalidate them (if they are paginated and not fully resolved), or simply insert/delete a given object (although we may need to introduce ordering information to the metadata to do this correctly).

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Thu Jun 22 2006 - 02:52:19 EDT