mybatis 报错解决方案ORA-01795: maximum number of expressions in a list is 1000

<if test="ids!=null and ids.size > 0">

and (x.CNC_ID in

<foreach collection="ids" open="(" close=")" separator="," item="i" index="index">

<if test="index != 0 and index % 999 == 0">

#{i}) or x.CNC_ID in (

</if>

#{i}

</foreach>

)

相关推荐
吠品19 小时前
Vue项目Moment.js引入优化:全局挂载与按需引入的深度解析与最佳实践
前端·javascript·vue.js
不甜情歌19 小时前
JS 类型判断不用愁:4 种方法,覆盖所有场景
前端·javascript
Lucis__19 小时前
Linux进程间通信IPC:从管道到共享内存的发展演进
linux·运维·服务器
降临-max19 小时前
IDEA常用git操作
java·github·intellij-idea
爱丽_19 小时前
G1 深入:Region、Remembered Set、三色标记与“可预测停顿”
java·数据库·算法
ETA819 小时前
状态管理没那么复杂:手写实现 Zustand 核心逻辑
前端·react.js
她说彩礼65万19 小时前
C语言 Static的用法
java·linux·c语言
用户2557788508119 小时前
axios请求缓存
前端
夫瑞19 小时前
TypeScript 直接编译成原生二进制,没有浏览器,没有 V8
前端
spencer_tseng19 小时前
java.lang.ClassNotFoundException: org.slf4j.Logger
java·spring·maven