[DGD] LWO's and levels of embedding
    Felix A. Croes 
    felix at dworkin.nl
       
    Mon Oct 15 18:40:11 CEST 2007
    
    
  
Carter Cheng <carter_cheng at yahoo.com> wrote:
> Suppose that you have a persistent object A which
> contains a LWO B which respectively contains an LWO C.
> What would happen if you cached a copy of C in A as
> well as B. At the end of the current execution would
> it create a copy or not? 
LWO B does not really "contain" LWO C.  Rather, B has a reference to C,
and both B and C are contained in persistent object A.  It's the same
for arrays and mappings in persistent object A.
Regards,
Dworkin
    
    
More information about the DGD
mailing list