• 请不要在回答技术问题时复制粘贴 AI 生成的内容
sandman511
V2EX  ›  程序员

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

  •  
  •   sandman511 · Oct 29, 2019 · 3706 views
    This topic created in 2413 days ago, the information mentioned may be changed or developed.

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

    3 replies    2019-11-20 11:41:43 +08:00
    yyConstantine
        1
    yyConstantine  
       Nov 18, 2019
    请问这个问题解决了吗。。。
    sandman511
        2
    sandman511  
    OP
       Nov 20, 2019
    @yyConstantine 没有...如果你解决了麻烦 @我下!感谢!
    yyConstantine
        3
    yyConstantine  
       Nov 20, 2019
    @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)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2763 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:41 · PVG 19:41 · LAX 04:41 · JFK 07:41
    ♥ Do have faith in what you're doing.