Changing the Transaction behavior

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Expert Boarder
Expert Boarder
Posts: 158
Joined: 06.11.2005, 01:43

Changing the Transaction behavior

Postby sandeep_c24 » 13.04.2008, 23:15

In Zeos with Auto Commit set to True a Transaction is started as soon as the connection is made and committed after that for every operation done(I think that is correct, not 100% sure there).

I was wondering what effect it might have to leave the transaction inactive(not calling StartTransaction) until an operation needs to be done against the database and then we commit the transaction(HardCommit in case of Firebird/Interbase).

If this can be done then we don't need to have a transaction active when nothing is done. The transaction is only started when needed.



Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest