I'm using Firedac + Firebird 2.5 + Delphi Rio 10.3.3 and Aurelius 5.2
i have de following code:
oTran, oTran2: IDBTRANSACTION;
oTran := oManager1.connection.begintrasaction;
oTra2 := oManager2.connection.beginTrasaction;
oTran2.commit; oTran1.commit; except oTran2.roolback; oTran1.roolback; end
this code is correct?
i monitored in the ibexerpt, the transaction only started in otran1, otran2 not started and not commit or roolback acording this code listed bottom
wich the best pratic for this works fine?