I am trying to store a
word document in Oracle database.
I am using Oracle9i. But, I get the error as:
java.lang.ClassCastException
I tried creating a querystring, qstring like
String qString = "select resume from Resumes where emp_id = 9004 for update";
oracle.jdbc.driver.OracleResultSet ors = (OracleResultSet)stat.executeQuery(qString);
res.next();
BLOB blob = ors.getBLOB("resume");
But, it was of no help. I've included the code below. I've marked the place where the error is shown. Please help. Thanks in advance.
[ March 14, 2005: Message edited by: seema prakash ]