hello, thanks in advance.
In the Oracle database, I have a blob type data.
How I can store a
String with PreparedStatement using the method setBlob()?
i used this but don't work
byte byte_string[]=string.getBytes();
Blob blob= new SerialBlob(byte_string);
preparedStatement.setBlob(1, blob);
java.lang.ClassCastException: javax.sql.rowset.serial.SerialBlob cannot be cast to oracle.sql.BLOB
Thank you.