Hello,
is it possible to use the error logging feature of oracle 10g (dbms_errlog) with ODAC when using dynamic generated update sql? Or do I have to construct the update sql statically to use this feature?
An additional property "ErrorTable" or similar for TOraQuery would be nice!
DML error logging
Hello,
when using TOraErrorHandler, I do not get the row data received the server.
I have added the "log errors" clause to the corresponding insert statement, but so I cannot use Odac's feature of dynamic query generation...
I have generated the insert query in the following way:
when using TOraErrorHandler, I do not get the row data received the server.
I have added the "log errors" clause to the corresponding insert statement, but so I cannot use Odac's feature of dynamic query generation...
I have generated the insert query in the following way:
Code: Select all
with TDBAccessUtils.GetDataSetService(AQuery).SQLGenerator do
begin
AQuery.SQLInsert.Text := GenerateSQL(stInsert, False, nil);
if AQuery.SQLInsert.Count > 0 then
begin
AQuery.SQLInsert.Append(' LOG ERRORS REJECT LIMIT UNLIMITED');
AQuery.DMLRefresh := False;
AQuery.Options.StrictUpdate := True;
end;
end;