springMvc +mybatis 调用oracle存储过程,怎么获取输出out的值
比如:createorreplaceprocedurepro_hello(user_nameinvarchar2,result_stroutvarchar2)isbegi...
比如:
create or replace procedure pro_hello(user_name in varchar2,result_str out varchar2)
is
begin
result_str := 'hello,'||user_name;
insert into A values(user_name);
end;
获取result_str 的值 展开
create or replace procedure pro_hello(user_name in varchar2,result_str out varchar2)
is
begin
result_str := 'hello,'||user_name;
insert into A values(user_name);
end;
获取result_str 的值 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询