V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sandman511
V2EX  ›  程序员

mybatis 批量更新, oracle 数据中已成功更新,但返回值为-1

  •  
  •   sandman511 · 2019-10-29 10:14:20 +08:00 · 3253 次点击
    这是一个创建于 1639 天前的主题,其中的信息可能已经有所发展或是发生改变。

    已经在 YML 中设置 default-executor-type: SIMPLE 仍然为-1 求助

    3 条回复    2019-11-20 11:41:43 +08:00
    yyConstantine
        1
    yyConstantine  
       2019-11-18 15:52:50 +08:00
    请问这个问题解决了吗。。。
    sandman511
        2
    sandman511  
    OP
       2019-11-20 11:35:42 +08:00
    @yyConstantine 没有...如果你解决了麻烦 @我下!感谢!
    yyConstantine
        3
    yyConstantine  
       2019-11-20 11:41:43 +08:00
    @sandman511 #2 我最后拿了 mybatis 的 SqlSessionFactory,然后拿 Mapper 层的方法做调用,可参照我在 StackOverflow 的提问:[传送门]( https://stackoverflow.com/questions/58909833/using-mybatis-3-4-6-for-oracle-batch-update-and-got-the-1-result)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3656 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:41 · PVG 18:41 · LAX 03:41 · JFK 06:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.