When I try to create a TOracleObject with a type-name 'bindparam_table' that remains in another schema I get:
object 'bindparam_table' does not exist.
Session logs in to schema A and type exists in schema B. And we created a public synonym in schema A for that type and a grant execute from schema B.
I thought (from the help) that this should work.
What am I doing wrong???
=====================
Script:
From schema B:
create or replace type bindparam_table as table of number
/
create public synonym bindparam_table for bindparam_table;
grant execute on bindparam_table to A;
From Delphi:
TOracleObject.Create(session,'bindparam_table','');
object 'bindparam_table' does not exist.
Session logs in to schema A and type exists in schema B. And we created a public synonym in schema A for that type and a grant execute from schema B.
I thought (from the help) that this should work.
What am I doing wrong???
=====================
Script:
From schema B:
create or replace type bindparam_table as table of number
/
create public synonym bindparam_table for bindparam_table;
grant execute on bindparam_table to A;
From Delphi:
TOracleObject.Create(session,'bindparam_table','');