AccessViolation if use OraSQLMonitor and XMLTYPE
Posted: Tue 30 Mar 2010 14:25
Oracle 11.1 (Win), Delphi 2010, ODAC last
In DB create package with this procedure:
Simple application with connection to DB and StoredProcedure execute next statement:
If SQLMonitor.Active = False - all OK
In DB create package with this procedure:
Code: Select all
procedure TST_XML(p_TSTXML SYS.XMLTYPE) is
begin
null;
end;
Code: Select all
OraStoredProc1.ParamByName('P_TSTXML').AsXML.OCISvcCtx := OraSession1.OCISvcCtx;
OraStoredProc1.ParamByName('P_TSTXML').AsXML.AsString := '';
OraStoredProc1.Execute; // Access violation if SQLMonitor.Active = True