Caching doesn't work for paginated queries
------------------------------------------

                 Key: CAY-967
                 URL: https://issues.apache.org/cayenne/browse/CAY-967
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne Core Library
    Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 3.0
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.0


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

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

Reply via email to