Subject | Re: [firebird-support] Locking columns |
---|---|
Author | Olivier Mascia |
Post date | 2003-08-04T10:18:15Z |
Paul Reeves wrote:
Yet, I'm still convinced the task Raj has at hands is simulating a
generator. So the very best solution would be to use a generator and not
simulate it with a MAX() which would (Raj is correct here) require
locking. Generator solution implies no table or row-locking at all.
--
Olivier Mascia
> It ought to be remembered that almost all middleware driver type stuff thinksI could not tell it better. :)
> that the default transaction isolation should be read committed. So, while
> Firebird itself may default to concurrent isolation (best and cleanest imo)
> the connectivity layer may have other ideas. It is best to check on a driver
> by driver basis what each one defaults to.
Yet, I'm still convinced the task Raj has at hands is simulating a
generator. So the very best solution would be to use a generator and not
simulate it with a MAX() which would (Raj is correct here) require
locking. Generator solution implies no table or row-locking at all.
--
Olivier Mascia