java.lang.ClassCastException: oracle.sql.BLOB cannot be cast to oracle.sql.BLOB -


I have a problem retrieving the Blob object from the ODIC db to Java ADI jdbc problem occurs when i db Function that executes the collable statement which gives me a Blob field, this exception is thrown on the line:

tempBlob = (oracle.sql.blow) cstmt. GetObject (1);

With this error message:

  java.lang.ClassCastException: oracle.sql.BLOB can not be inserted on oracle.sql. Blob   

The object that I get from DB is an example of oracle.sql.bloB . TempBlob variable is an object oracle.sql.bloB . where is the problem?

Two oracle jar files can be in your cell spaces. Please remove a jar and post it again.

Comments