On Tuesday 03 June 2003 18:42, Thomas Mahler wrote:
>
> Yes, you have to lock the elements of the N side collection to the open
> ODMG transaction!
> Otherwise OJB/ODMG won't detect the changes to those objects and thus
> won't perform any updates for them.
>
> If you are using the ODMG persistent collections like DList you don't
> have to do the locking, as they cooperate with the transaction mechanism.
>
> DLists are also very handy for m:n associations, as you don't need an
> intermediary table, OJB is doing all the management stuff for you...
>

Hi Thomas,

I tried to implement this, but I hadn't success. Could you give me a some 
example of using DList for collections? How must repository look like for in 
this case? Does object which I store must have a collection of DList type? 

Please, help me about this.

-- 
Best regards,
Mickey          [EMAIL PROTECTED], [EMAIL PROTECTED]


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

Reply via email to