Sending BeginTransaction to the server
Posted: Mon 17 Dec 2012 03:54
Hi,
In my application, if my database connection gets lost while I am sending new transaction to the server then it does not show the exception or break until I reach to the TheQry.Open; statement (TheQry : TSQLQuery). It seems that it does not send BeginTransaction command to the server. Is there any mechanism so that I can trap this exception on BeginTransaction statement or BeginTransaction command is to be sent to the server everytime when I use it?
Thanks
In my application, if my database connection gets lost while I am sending new transaction to the server then it does not show the exception or break until I reach to the TheQry.Open; statement (TheQry : TSQLQuery). It seems that it does not send BeginTransaction command to the server. Is there any mechanism so that I can trap this exception on BeginTransaction statement or BeginTransaction command is to be sent to the server everytime when I use it?
Thanks