In Oracle 11g I have a stored procedure like this:
PROCEDURE test_params (o_message_tbl OUT core.message_tbl);
where
create or replace TYPE message_tbl AS TABLE OF core.message_obj;
create or replace TYPE message_obj AS OBJECT
(code NUMBER (10, 0),
type_code VARCHAR2 (10 CHAR),
text VARCHAR2 (1000 CHAR)
)
I am using Spring's SimpleJdbcCall to call it, but it gives me "Invalid column type" exception. Is it possible to call such procedure and to read result in JDBC? If no, what other options are available except returning a cursor?