Hi again,

Jose Galiana wrote:
> So, if I want ODMG deletes objects and their rows in dabatase I must to use
> DList instead List, don�t?
> 

If you want to have it done *automagically*, yes.

> 
> 
> -----Mensaje original-----
> De: Thomas Mahler [mailto:[EMAIL PROTECTED]]
> Enviado el: martes, 08 de octubre de 2002 20:35
> Para: OJB Users List
> Asunto: Re: Collections or DCollections?
> 
> 
> Hi Jose,
> 
> Jose Galiana wrote:
> 
>>Works ODMG better if the collection-description elements in classes are
>>DCollections (DList, etc.. ) than traditional java.util.collection? Why?
>>
> 
> 
> If you want to have collection that are aware of removing and adding
> items you'll have to use DList.
> If you don't need such a feature you can use normal collections as well.
> The DList collection bring a lot of overhead with them.
> If you need ODMG compatibility you should use them.
> 
> 
>>If I don�t use auto-delte in ODMG collections, how ODMG deletes the rows
> 
> in
> 
>>database?
> 
> 
> ODMG tracks all objects that can be reached from an object that is
> locked to the transaction. Thus the transaction is aware of which object
> must be deleted. The PB kernel cannot do this, as it does not track the
> state of objects.
> 
> cheers,
> Thomas
> 
> 
>>Thanks in advance
>>Jose Galiana
>>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to