Oracle 的 XMLType 支持 JDBC 批量更新吗?
Oracle 的 JDBC 实现是否支持 XMLType 批量更新(通过PreparedStatement.addBatch())?
Does Oracle's JDBC implementation support XMLType batch updates (via PreparedStatement.addBatch())?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过大量研究后,Oracle JDBC 实现的一个已知限制似乎是它不支持“流类型”作为绑定变量(XMLType 是流类型)。
根据他们自己的文档:
After a lot of research, it appears like a known limitation of Oracle's JDBC implementation is that it does not support "stream types" as bind variables (XMLType being a stream type).
According to their own documentation:
我认为 Oracle 类型无法判断它们是如何被调用的,所以答案是“是”。
真正的问题是:“您认为批处理会引入实时处理不会引入的什么问题?”
I don't think Oracle types can tell how they're invoked, so the answer would be "yes".
The real question is: "What problem do you think that batch processing will introduce that real-time processing does not?"