Subject | Re: [firebird-support] Embedded Firebird : Transaction |
---|---|
Author | Magnus Titho |
Post date | 2005-09-19T15:16:44Z |
cariad_ilmara wrote:
If you use a component like IBX you should have something like
TIBTransaction. Simply call StartTransaction and later Commit/Rollback.
Generally, "set transaction" is correct. This works with ISQL and
IBExpert. IBConsole OTOH doesn't like that statement, perhaps because it
implicitly starts transaction whenever something is executed.
--
Magnus
>What is the correct way to begin a transaction ?How do you access the database?
>
>
If you use a component like IBX you should have something like
TIBTransaction. Simply call StartTransaction and later Commit/Rollback.
Generally, "set transaction" is correct. This works with ISQL and
IBExpert. IBConsole OTOH doesn't like that statement, perhaps because it
implicitly starts transaction whenever something is executed.
--
Magnus