我是靠谱客的博主 暴躁烤鸡,这篇文章主要介绍java.sql.SQLException: 内部错误: Unable to constr,现在分享给大家,希望可以做个参考。

Q:
I am working with Oracle database 8.1.7 and I have written a JAVA code to update the table which contains one BLOB field .

I am using updateBinaryStream method of resultset to update the BLOB field but it is failing after giving following exception

java.sql.SQLException: Internal Error: Unable to construct a Datum from the specified input

Can anyone help me in this regard ?


A:
That's because you are using FileInputStream. FileInputStream doesn't implement all methods of java.io.InputStream. Use java.io.File instead.

最后

以上就是暴躁烤鸡最近收集整理的关于java.sql.SQLException: 内部错误: Unable to constr的全部内容,更多相关java.sql.SQLException:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(217)

评论列表共有 0 条评论

立即
投稿
返回
顶部