Subject | Re: [IBO] cascade relations |
---|---|
Author | Gediminas |
Post date | 2003-08-25T09:19:59Z |
Stan, you can make an experiment with a trigger, which don't have if
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 ;)
At 2003.08.24 23:44, you wrote:
The Truth Is Out There
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 ;)
At 2003.08.24 23:44, you wrote:
> >> if ( New.Blah_ID is null )--/ Gediminas /--
> "If you assign the ID from within IBO using GeneratorLinks, and you
> also have a before insert trigger assigning that same ID field from
> the generator, then make sure the trigger only assigns the ID if
> it's NULL. Otherwise the ID that IBO assigned will be overwritten
> and the record as IBO sees it will have an invalid ID."
The Truth Is Out There