Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB??

612177Jul 28 2010 — edited Feb 14 2012
Hello. I'm trying to bring back a BLOB object from a PL/SQL procedure. I keep getting a class cast exception when I do it

java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB cannot be cast to oracle.sql.BLOB

I get similar results with oracle.sql.BLOB or java.sql.Blob.

What I've noticed is that when I'm not using a JDBC URL with my AM to do the SQL it does not fail. It's when I change to a JDBC Datasource I get the class cast exception. Any ideas?

Thanks, Graeme.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 13 2012
Added on Jul 28 2010
4 comments
8,737 views