Hello,
I'm using DOA 4.1.3.1 and I have make a personnalized OracleSession component : TMyOracleSession wich herited from TOracleSession ( TMyOracleSession = class(TOracleSession) )
I want to prevent commit in some situations.
I have declare a Commit procedure in TMyOracleSession (in public section) :
But when I use this call, my function isn't called :
How can I force to call my Commit procedure without modify the call ?
thanks for your response.
--
Zugg
I'm using DOA 4.1.3.1 and I have make a personnalized OracleSession component : TMyOracleSession wich herited from TOracleSession ( TMyOracleSession = class(TOracleSession) )
I want to prevent commit in some situations.
I have declare a Commit procedure in TMyOracleSession (in public section) :
Code:
procedure TMyOracleSession.Commit;
begin
if not ForbidCommit then
inherited;
end;
But when I use this call, my function isn't called :
Code:
lQry.Session.Commit; // with lQry an TOracleQuery object.
How can I force to call my Commit procedure without modify the call ?
thanks for your response.
--
Zugg