Originally posted by: SystemAdmin
Hello!
I built a stored procedure in an Oracle database. Among others, this procedure has a parameter whose type is user-defined:
CREATE PROCEDURE "Track" (
p_id INTEGER,
p_list user_list_type,
...
user_list_type is a user-defined collection type of another user-defined object type. Something like
CREATE TYPE "user_item_type" AS OBJECT (.....);
CREATE TYPE "user_list_type" AS TABLE OF user_item_type;
The types and the procedure are owned by user Anne. User John has to call this procedure.
Permissions are fine. Using SQL*Plus, everything works.
Now to the problem:
Generating a type tree in Database Interface Designer only works when logging on as Anne. Logging on with John results in a crippled type tree, missing the part for parameter
p_list. No hint to the error, no message in the trace file.
When John tries to
call the procedure in the output card of a mapping, he fails with the follwing message in the trace file:
COLUMN 2 (P_LIST) type is ADT
Error returned by OCIDescribeAny, errcode=4043
ORA-04043: object user_list_type does not exist.
...
Returned status: (-1097) Failed to create an object.
Again, logging on as Anne, everything works fine.
My guess: WTX doesn't get right the schema of the type. The procedure is always referred to as
"Anne.Track", but when retrieving the meta data on the procedure, WTX seems to lose the schema "Anne".
What do you think? Did I miss some configuration?
Thank you in advance! I appreciate any help, as this problem has bothered me for hours.
Message was edited by: karatan
Message was edited by: karatan
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange