Home > Back-end >  My program, often appear "unable to start the reply more transaction" what meaning be?
My program, often appear "unable to start the reply more transaction" what meaning be?

Time:05-23

ADOConnection1. BeginTrans;

ADOConnection1.Com mitTrans;

After the end of the transaction is still need to do?

CodePudding user response:

Must try to use?

CodePudding user response:

Should be you use a nested transaction, namely in BeginTrans CommitTrans nested inside another transaction, usually a database of nested transaction layer number is limited, because the transaction is very consume resources operation

CodePudding user response:

ADOConnection1. BeginTrans;

Here, have ADOQuery1 ADOQuery2 ADOQuery, write data to three different tables, if you don't enable the transaction management, ok? Because I worry, one writes, 2 make a mistake, so use transactions, but seems to be easy to write data after using transaction fails,


ADOConnection1.Com mitTrans;