Page 1 of 1

"OCI no data" in OracleException.Message when procedure raises "no_data_found" exception

Posted: Thu 19 Jul 2007 11:23
by Denis
Procedure Text with error "OCI no data" instead of "ORA-01422: exact fetch ...":
procedure Bad_Exec
is
pId NUMBER(16,0);
begin
Select 1 into pId from all_tables t where t.table_name = 'SSS';
end Bad_Exec;



Procedure Text with normal exception text:

procedure Bad_Exec
is
pId NUMBER(16,0);
begin
Select 1 into pId from all_tables t;
end Bad_Exec;

Posted: Thu 19 Jul 2007 12:03
by Alexey
We are investigating this behaviour.
You will be notified on results as soon as possible.

Posted: Tue 24 Jul 2007 07:26
by Alexey
Oracle returns different errors in these two cases.
We will try to return same messages.
Look forward to the next build.