java.sql.SQLException:
作者: / 2019-08-28 / 浏览次数:
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.

【某某业务】网站建设、网站设计、服务器空间租售、网站维护、网站托管、网站优化、百度推广、自媒体营销、微信公众号
如有意向---联系我们
热门栏目
热门资讯

网站建设 网站托管 成功案例 新闻动态 关于我们 联系我们 服务器空间 加盟合作 网站优化

备案号: 

公司地址:江苏省南京市玄武区玄武湖 咨询QQ:9490489 手机: 电话: