[jira] Commented: (CAY-1075) Paged queries should not require memory proportional to query list length

From: JIRA (Øyvind)
Date: Thu Jun 26 2008 - 08:12:52 EDT

  • Next message: Andrey Razumovsky: "Re: Thoughts on default delete rule?"

        [ https://issues.apache.org/cayenne/browse/CAY-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984#action_12984 ]

    Øyvind Harboe commented on CAY-1075:
    ------------------------------------

    To clarify: it is not about me maintaining it in Cayenne, but rather that there are several ways to do this in the application and good reasons to do so.

    Cayenne consistently keeps the entire list in memory(paged queries just fetch it a bit at the time). This gives predictable well defined behaviour for Cayenne's implementation and the line in the sand between Cayenne and the application can be drawn there at this point I think.

    > Paged queries should not require memory proportional to query list length
    > -------------------------------------------------------------------------
    >
    > Key: CAY-1075
    > URL: https://issues.apache.org/cayenne/browse/CAY-1075
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Øyvind Harboe
    > Assignee: Andrus Adamchik
    > Attachments: IncrementalFaultList.java, LinearList.java
    >
    >
    > I'm working on a version of paged queries that uses WeakHashMap for the pages.

    -- 
    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 Jun 26 2008 - 08:13:13 EDT