Subject Re: Odp: [IBO] GeneratorLinks in 5,000,000 words or less
Author Helen Borrie
At 09:36 AM 08-02-01 +0100, you wrote:

>----- Original Message -----
>From: Helen Borrie <helebor@...>
> >
> > The following code is !!!! dangerous !!!!. Generators operate right
> > outside the transaction context. In a multi-user environment, you are
> > certain to get PK violations. Don't do it!!!
> >
>
>Does it mean that in case of rollback I will have a hole in PK ?

Yes, that always is the case. Generators are outside transaction control -
once fired, a generator moves on.

Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________