Re: Memory usage and select statements

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Jun 30 2008 - 08:28:00 EDT

  • Next message: Øyvind Harboe: "Re: Memory usage and select statements"

    On Jun 30, 2008, at 3:23 PM, Scott Anderson wrote:

    > If I'm not mistaken, using an incomplete SQLTemplate statement will
    > allow fetching of incomplete DataObjects, and Cayenne will not go
    > back to the database again until you try to access unfetched data.

    In this case Cayenne will create completely hollow objects and fault
    the entire object when you try to access any of the properties (even
    if they where the part of the earlier query).

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Jun 30 2008 - 08:28:31 EDT