发布于 2016-03-18 23:47:46 | 269 次阅读 | 评论: 1 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Oracle关系数据库管理系统

Oracle Database,又名Oracle RDBMS,或简称Oracle。是甲骨文公司的一款关系数据库管理系统。到目前仍在数据库市场上占有主要份额。


Unable to construct a Datum from the specified input的解决方法
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.



最新网友评论  共有(1)条评论 发布评论 返回顶部
uqyw 发布于2016-03-26 20:12:53
还能再仔细点吗
支持(0)  反对(0)  回复

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务