Handling BLOB with WebLogic 9.2
Hi,
We have recently moved our application from JRUN to Weblogic 9.2.
While Uploading and Downloading the file attachments we are getting the below exception:
java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
The above error is thrown while executing:
oracle.sql.BLOB blob = (oracle.jdbc.driver.OracleResultSet)rs.getBlob(columnNumber);
Please help me in the following:
1)Suggestions to handle BLOBs in WebLogic 9.2 and Oracle 10g
2) How to type cast result set after getting the BLOB from result set
We have recently moved our application from JRUN to Weblogic 9.2.
While Uploading and Downloading the file attachments we are getting the below exception:
java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
The above error is thrown while executing:
oracle.sql.BLOB blob = (oracle.jdbc.driver.OracleResultSet)rs.getBlob(columnNumber);
Please help me in the following:
1)Suggestions to handle BLOBs in WebLogic 9.2 and Oracle 10g
2) How to type cast result set after getting the BLOB from result set
If there are any workarounds/solutions, please help me asap.
Thanks,
0