Auto Commit explanation

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
hamacker
Junior Boarder
Junior Boarder
Posts: 37
Joined: 13.10.2021, 15:15

Auto Commit explanation

Post by hamacker »

Hi guys again.

I would like to know how is does work autocommit property in ZConnection.
When autocommit:= true, I can start a transaction, but when is false I can´t and there is already transaction started.
I was believe that each sentence DSQL will be commited without need a formal start transaction and commit.
But in my tests I lost data (inplict rollback) when close application without an explict commit.

Anyone can explain for me "autocomit" in ZConnection?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Auto Commit explanation

Post by marsupilami »

Hello hamacker,

I wrote some small documentation about AutoCommit. It can be found on https://sourceforge.net/p/zeoslib/wiki/TZConnection.AutoCommit/. If this leaves some quetions unanswered, please let me know.

Best regards,

Jan
hamacker
Junior Boarder
Junior Boarder
Posts: 37
Joined: 13.10.2021, 15:15

Re: Auto Commit explanation

Post by hamacker »

Thank you.
With your help, now my article are more complete:
https://gladiston.net.br/usando-zeos-co ... onnection/
Post Reply