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

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

  •  
  •   sandman511 · Oct 29, 2019 · 3954 views
    This topic created in 2566 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
    yyConstantine
    Nov 18, 2019
    1
    请问这个问题解决了吗。。。
    sandman511
    sandman511
    OP
    Nov 20, 2019
    2
    @yyConstantine 没有...如果你解决了麻烦 @我下!感谢!
    yyConstantine
    yyConstantine
    Nov 20, 2019
    3
    @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   ·   Privacy   ·   Solana   ·   1081 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:12 · PVG 01:12 · LAX 09:12 · JFK 12:12
    ♥ Do have faith in what you're doing.