5 Replies Latest reply: Mar 7, 2013 1:25 AM by Sudhi SDK RSS

Getting ClassCastException in JBoss AS 6

shrutee sinha Newbie

I am getting this Exception which says ClassCastException:oracle.sql.blob cannot be cast to oracle.sql.blob


I do not understand why as my code is

 

oracle.sql.BLOB image=null;

 

image = (oracle.sql.BLOB)rset.getBlob("document"); // This line is throwing the exception

Please someone help me out with this.