Page 1 of 1

Auto Commit explanation

Posted: 18.02.2022, 21:09
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?

Re: Auto Commit explanation

Posted: 19.02.2022, 09:48
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

Re: Auto Commit explanation

Posted: 21.02.2022, 20:04
by hamacker
Thank you.
With your help, now my article are more complete:
https://gladiston.net.br/usando-zeos-co ... onnection/