Hello!
Is it possible to access stored procedure with out parameter in Hibernate?
My stored procedure is like this:
Quote:
create or replace procedure test1 (pi_1 in number,pi_2 in number, po_1 out number)
is
vi_1 number(4) default pi_1;
vi_2 number(4) default pi_2;
v_err varchar2(1000);
p_rc varchar2(1000);
begin
po_1:= vi_1 + vi_2;
EXCEPTION
WHEN OTHERS THEN
v_err:=' ERR: An error occurred with info :'||SQLCODE||' errm '||SQLERRM||' ';
dbms_output.put_line(v_err);
p_rc:=SQLCODE;
end test1;
How should I declare it in xml file?