4
Using Firedac technology, I want to know exactly the difference between Commit
and CommitRetaining
.
I read in the official documentation of Firedac that Commitretaining keeps the transaction open. But this led me to doubt:
- What is the impact on the application of keeping the transaction open?
- When I give a Commitretaining for the tests I’ve done, the data already are available to other users (in other transactions)... AND this I could not understand, as it is possible users of other transactions see what I’m handling in a transaction yet open?
- In order to avoid Deadlocks on the system, which is recommended Commit or Commitretaining?
Could someone help me in a didactic way to understand what is best and their differences?
Detail: ATM system, Firebird and Oracle.
Great Junior, helped me decide which way to go. Thanks for the explanation.
– Andrey