JAVAsql。SQLException:ORA00600:内部错误代码,参数:[12811],[93233]
我是在执行死刑时弄到的
File f = new File("file location");
FileInputStream fis = new FileInputStream(f);
PreparedStatement ps = db.prepareStatement("INSERT INTO table (title,file,id) VALUES('title',?,7)");
ps.setBinaryStream(1, fis, (int)f.length());
ps.execute();
ps.close();
标题-VARCHAR2
文件-BLOB
id-FK到另一个表
其他表的操作正在运行,除了这一个,一切都很好。我试图更改语句,删除并重新创建表。没有结果
共 (0) 个答案