![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
雪儿waii
https://m.gitee.com/wangxuewaii
展开
-
SSM-Mybatis调用Oracle存储过程返回结果集(游标)示例
原文参考:https://www.jianshu.com/p/0ae6d9d66d61?tdsourcetag=s_pctim_aiomsg 1.创建一个包 此处创建一个包,是为了创建存储过程时,用游标作为out输出参数时声明为游标类型用的. --创建一个包 create or replace package types as type empListCursor is ref curso...转载 2018-09-08 17:01:16 · 1971 阅读 · 0 评论 -
mybatis调用存储过程2
--oracle 无参数函数例子 create or replace function fun_dtime return varchar2 as begin return to_char(sysdate,'yyyy"年"mm"月"dd"日"'); end; --执行 begin dbms_output.put_line(fun_dtime); end; -- mybatis调用存储过程例...原创 2018-11-17 23:50:00 · 170 阅读 · 0 评论