Oracle Weblogic Server (MOSC)

MOSC Banner

Handling BLOB with WebLogic 9.2

edited Mar 3, 2011 12:48AM in Oracle Weblogic Server (MOSC) 2 commentsAnswered ✓
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

If there are any workarounds/solutions, please help me asap.

Thanks,
 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center