java批量插入報 Prepared or callable statement has more than 2000 parameter markers.
持久層框架用的是 mybatis, 數據庫用的是 sql server
serverimpl實現層代碼
dao.insertBatch(list)
mybatis 代碼
批量插入超過2000條是 報
後面想到分批插入 每次插入100條 代碼如下
java批量插入報 Prepared or callable statement has more than 2000 parameter markers.
持久層框架用的是 mybatis, 數據庫用的是 sql server
serverimpl實現層代碼
dao.insertBatch(list)
mybatis 代碼
批量插入超過2000條是 報
後面想到分批插入 每次插入100條 代碼如下
kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context