precisions for new user

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
softmouv
Posts: 9
Joined: Sat 15 Dec 2007 07:42

precisions for new user

Post by softmouv » Sat 15 Dec 2007 14:24

Hi ,
I want to migrate from IBX and I am using trial version for test.
With IBX : I start transaction after every post i do a Commit retaining and when i close if transaction is active i do a commit.
I need some precision about Autocommit = True for Ibconnection and
Ibquery .I want to know who starts transaction?? if there is an commit retainning automatic??? and when autocommit is processing...

Thank's for your answers
best Regards JLV

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 17 Dec 2007 09:15

TIBCQuery component starts transaction before execute, if the transaction is inactive.

After execute it performs autocommit. If the transaction was started by the TIBCQuery component, Commit is performed. Otherwise if the transaction was already active when you call Execute method, CommitRetaining is performed.

Post Reply