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.