| Subject | Re: [firebird-support] Re: Locking tables | 
|---|---|
| Author | Ann W. Harrison | 
| Post date | 2005-01-12T18:36:14Z | 
Ann W. Harrison wrote:
on triggers leaves the possibility of undetected simultaneous
inserts/updates that would not be detected.
The update of the gateway records should be in the same transaction as
the insert/update of the reservation records.
Regards,
Ann
            >Thinking about it a bit more, I'd use gateway approach - relying purely
> I'd have triggers on the reservations table ....
on triggers leaves the possibility of undetected simultaneous
inserts/updates that would not be detected.
The update of the gateway records should be in the same transaction as
the insert/update of the reservation records.
Regards,
Ann