I am getting an error when I try to insert a byte into BLOB column. The error message is : [BEA][Oracle JDBC Driver]long (>4k) parameters are only allowed in the values list of simple insert/update statements
// below is the lines of code private byte fileData; PreparedStatement stmt = conn.prepareStatement("INESRT INTO test VALUES ( 1, ?)" ); stmt.setBytes(1, this.fileData); int testIDID = stmt.executeUpdate();
Can anyone help me here.
Thanks in advance Manju
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com