Re: CayenneRuntimeException: Can't find id

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sun Jan 20 2008 - 11:43:20 EST

  • Next message: Daniel Kvasnička jr.: "Re: CayenneRuntimeException: Can't find id"

    On Jan 19, 2008, at 11:59 PM, Andrus Adamchik wrote:

    >> When I remove setPageSize, caching works, so it's paradoxically
    >> better
    >> than with paging. With paging, on every page cayenne retrieves full
    >> table + records relevant for the page.
    >
    > Yes, the cache settings are skipped for paginated queries for
    > various technical reasons (except for the ROP scenario that Ari
    > mentioned - it was hand coded for this case)... although I think we
    > should make it work in all situations...

    BTW, fixing that now:

        https://issues.apache.org/cayenne/browse/CAY-967

    After this is fixed, LOCAL_CACHE will work with paginated results, but
    not the SHARED_CACHE.

    Andrus



    This archive was generated by hypermail 2.0.0 : Sun Jan 20 2008 - 11:43:53 EST