Subject | Re: [IBO] cascade relations |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-08-25T08:30:22Z |
Hi Gediminas,
first by IBO because of the GeneratorLinks, and later (when you post
the insert) by the trigger. Usually it's not a problem if the
generator skips values (unless you expect billions of inserts), but it
can be a problem if the PK value is something else than what IBO
thinks it is.
Greetings,
Paul Vinkenoog
> Stan, you can make an experiment with a trigger, which don't have ifWell, not exactly the trigger itself, but the generator is used twice:
> statement - then you would see, that trigger increases ID by 2 - if
> the first value was 1, then next would be 3 - trigger is fired twice
> ;)
first by IBO because of the GeneratorLinks, and later (when you post
the insert) by the trigger. Usually it's not a problem if the
generator skips values (unless you expect billions of inserts), but it
can be a problem if the PK value is something else than what IBO
thinks it is.
Greetings,
Paul Vinkenoog