1
I have a system that is installed on an unstable network, my doubt is the following, if at some point in my recording I lose the connection to the database, how do I undo what was done in the database? If I put:
try
....
query1.post;
query2.post;
commit;
except
rollback;
Would that work? I don’t think so, because if in the second Post, I lose the connection to the bank the rollback will also not work?