java.sql.SQLException: 内部错误: Unable to construct a Datum from the specified input
来源:asp之家 时间:2010-07-16 13:23:00
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
0
投稿
猜你喜欢
python实现三阶魔方还原的示例代码
2021-03-12 08:45:04
微信小程序实现扫雷游戏
2024-05-11 09:06:59
Numpy 数组操作之元素添加、删除和修改的实现
2023-06-23 22:09:03
流动的线条 —— 中国汉字书法之美
2009-10-30 18:15:00
vue 巧用过渡效果(小结)
2024-04-10 10:33:28
Pandas 类型转换astype()的实现
2022-03-13 17:39:52
把网页中的电话号码生成图片的ASP程序
2008-11-07 16:12:00
常见Dreamweaver使用过程中的问题及解决办法
2011-03-17 16:16:00
python基于queue和threading实现多线程下载实例
2023-02-04 09:58:22
Pandas实现DataFrame的简单运算、统计与排序
2022-03-29 02:09:54
段正淳的css笔记(7)-表单在各浏览器的表现统一
2008-01-14 02:47:00
Flask 使用类组织配置详情
2023-06-15 02:31:30
Python reduce函数作用及实例解析
2023-10-10 22:27:47
Python基于辗转相除法求解最大公约数的方法示例
2023-08-24 19:47:35
C#命名空间System.ComponentModel属性方法汇总
2024-06-05 09:24:02
pandas选择或添加列生成新的DataFrame操作示例
2023-03-02 00:41:51
postman批量执行接口测试的图文步骤
2023-03-14 00:22:13
python中csv文件的若干读写方法小结
2021-04-07 11:46:03
MySQL 编码机制
2024-01-14 23:52:38
django列表筛选功能的实现代码
2021-06-23 08:48:57