Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OO4O and locking records in multiple dynasets

OO4O and locking records in multiple dynasets

From: Eric Lepage <nospam_at_ng.com>
Date: Wed, 22 Dec 2004 16:52:47 -0500
Message-ID: <P0myd.31173$oN3.1664493@weber.videotron.net>


Hello,

We're using OO4O 8.1.7.315

Two ODynasets are connected to the same ODatabase. If both dynasets are issued a StartEdit() at some point, then performing an Update() in the second dynaset will release the lock in the first dynaset as well:

ODynaset dyn1;
ODynaset dyn2;

... connect, fetch records, etc.

dyn2.Update(); // this release the lock in dyn1 as well

Is there a global setting that can use to prevent this situation from happening? I know I can re-issue a StartEdit() on the first dynaset in a situation like the given example. But since the OO4O code is in a dll and this dll is accessed by multiple modeless windows, it is impossible to re-issue a StartEdit().

Is it something that has been changed in later release of the OO4O library?

Thanks,

Eric Lepage Received on Wed Dec 22 2004 - 15:52:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US