Subject | Re: [IBO] Lock Conflict Problem |
---|---|
Author | Lester Caine |
Post date | 2005-06-27T19:25:37Z |
Calin Pirtea wrote:
happen at the same time, but if it is off - as it should be - then the
trigger will not fire until the current transaction is commited.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
>>From: Lester CaineYes and No - If autocommit is on, then Yes the insert and commit will
>
>>Again, the trick is to keep to a minimum the information that is
>>modified. The triggers are not fired until a commit is made, so
>>everything should be stable, and nothing should lock because
>>the commit
>>happens quickly. The problem comes when you start trying to scan
>>multiple records which other users may also be accessing ...
>
> Lester, I think you meant the trigger is not fired until the record is
> inserted or updated, and if AutoCommit is on then the commit will happen as soon
> as the insert/update succeeds.
happen at the same time, but if it is off - as it should be - then the
trigger will not fire until the current transaction is commited.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services