13840167804

网站建设 APP开发 小程序

您当前位置> 首页 > 知识 > 网站建设

java.sql.SQLException: 内部错误: Unable to construct a Datum_睿合科技

发表时间:2020-08-27 15:49:05

文章作者:

浏览次数:

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在线咨询
售前咨询
138-40167804
售后服务
138-40167804