Olá
Eu tenho uma estrutura no oracle dentro da [b]package teste/b mais ou menos assim:
create or replace type TIPO_TESTE as object(
nome varchar2(30),
idade number(3));
create or replace type TESTE_TABLE as table of TIPO_TESTE;
create or replace procedure proc_teste_table_out is(
num in number,
obj_table out TESTE_TABLE)....
No java estou tentando acessar dessa forma:
cs.registerOutParameter("obj_table", Types.ARRAY, "TESTE.TESTE_TABLE");
E ele retorna o seguinte:
SQLException: invalid name pattern: TESTE.TESTE_TABLE
Eu também tentei fazer o seguinte:
ArrayDescriptor ad = ArrayDescriptor.createDescriptor("TESTE.TESTE_TABLE", conexao);
Também dá o mesmo erro.
Alguém já passou por isso?
Obrigado