5 Replies Latest reply on Mar 7, 2013 1:25 AM by sudhi

    Getting ClassCastException in JBoss AS 6

    shrutee

      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.