cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Memory usage and select statements
Date Mon, 30 Jun 2008 12:28:00 GMT

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


Mime
View raw message