Subject | Re: [ib-support] Re: Generator and Triggers with IB6 from Delphi and IBX |
---|---|
Author | Robert F. Tulloch |
Post date | 2001-05-18T18:27:05Z |
Hi:
transaction/access to wait until lock is removed. The lock is removed as soon as the
sp returns.
doing.
Best regards
> I have a doubt it is solution. If two transactions got the sameThey can't. The table is locked while the sp executes thus causing any other
> max(Id)
transaction/access to wait until lock is removed. The lock is removed as soon as the
sp returns.
> and tries to insert record, one of them will cause violationAnd it will be filled the next time the sp is called, which is fine for what I am
> of uniquiety.
> Anyway,
> if transaction got value N will be rolled back and other that got N+1
> commited, you have a hole in Id sequence.
doing.
Best regards