There are 2 types and a procedure in our database, created by the following commands:
create type X_Item as object (N number);
create type X_Table as table of X_Item;
create procedure MyProc (T in X_Table);
We'd like to pass an object from Delphi program to Oracle using the next code:
procedure ...
var OraObj: TOracleObject;
begin
OraObj := TOracleObject.Create(Sess, 'X_Table', '');
...
end;
But the Create method gives ORA-21560 error: argument name should not be null.
We did not find any idea in the help/manual.
I'm sure it is an easy problem but we can't solve it.
What is the mistake we made? Please help!
Best regards
Zoltan Hives
create type X_Item as object (N number);
create type X_Table as table of X_Item;
create procedure MyProc (T in X_Table);
We'd like to pass an object from Delphi program to Oracle using the next code:
procedure ...
var OraObj: TOracleObject;
begin
OraObj := TOracleObject.Create(Sess, 'X_Table', '');
...
end;
But the Create method gives ORA-21560 error: argument name should not be null.
We did not find any idea in the help/manual.
I'm sure it is an easy problem but we can't solve it.
What is the mistake we made? Please help!
Best regards
Zoltan Hives