I need to pass a list of objects (like a table of values) from java to oracle 8i.
I am trying with the below database objects in oracle 8i.
Is this possible in 8i?
Please help me with a solution if possible.
create or replace type GROUP_OBJ as object (
GROUP_TYPE VARCHAR2(32),
PARAM_1 VARCHAR2(16),
PARAM_2 VARCHAR2(16)
);
/
CREATE OR REPLACE
TYPE GROUP_table AS TABLE OF GROUP_OBJ;
/
CREATE OR REPLACE PROCEDURE GROUP_TABLE_TEST (TABLE_OBJ IN GROUP_table)
IS
BEGIN
null;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END GROUP_TABLE_TEST;
I got the answer. I was getting into trouble due to case sensitivity issue. the type name to pass into Structdescriptor and arraydescriptor is case sensitive. when gave the Upper case for both , it worked.