Subject | please advice |
---|---|
Author | d_dude_2003 |
Post date | 2007-01-17T09:58:53Z |
Lets say i have the following code:
StoredProcedure.SQL.Clear;
StoredProcedure.StoredProcName := 'MY_SP';
.....
TheTransaction.StartTransaction;
try
StoredProcedure.ExecProc;
TheTransaction.Commit;
except
on E: Exception do
TheTransaction.Rollback;
end;
Is there a way to get to IB_Connection.OnError event handler in case
of network failre, despite of this try..except block?
Thanks.
StoredProcedure.SQL.Clear;
StoredProcedure.StoredProcName := 'MY_SP';
.....
TheTransaction.StartTransaction;
try
StoredProcedure.ExecProc;
TheTransaction.Commit;
except
on E: Exception do
TheTransaction.Rollback;
end;
Is there a way to get to IB_Connection.OnError event handler in case
of network failre, despite of this try..except block?
Thanks.