Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-967

Caching doesn't work for paginated queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2 branch, 2.0 branch, 3.0
    • 3.0M3
    • Core Library
    • None

    Description

      The order of execution in DataContextQueryAction.execute is this

      1. interceptPaginatedQuery
      2. interceptOIDQuery
      3. interceptRelationshipQuery
      4. interceptRefreshQuery
      5. interceptLocalCache

      The order in CayenneContextQueryAction (ROP) is this:

      1. interceptOIDQuery
      2. interceptRelationshipQuery
      3. interceptRefreshQuery
      4. interceptLocalCache
      5. interceptPaginatedQuery

      I.e. we allow caching of paginated lists in ROP, but not in regular Cayenne... This makes no sense to me, so I am going to change DataContextQuery action to match CayenneContextQueryAction

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: