尝试在单个批次中发送多个选择失败,错误消息如下:
“Invalid statement in batch: only UPDATE, INSERT and DELETE statements are allowed.”
最佳方式是发送多个不同的查询(例如id = x,id = y,id = z)。
“Invalid statement in batch: only UPDATE, INSERT and DELETE statements are allowed.”
最佳方式是发送多个不同的查询(例如id = x,id = y,id = z)。