1 Reply Latest reply on Mar 14, 2008 11:10 AM by Peter Johnson

    Unable to read large BLOB values from MySQL db

    Neelima S Newbie

      I am using JBOSS 4.0.5 along with MySQL5. While trying to read BLOB values from the database from a stateless session bean, using rs.getObject("columnName"), we get the result as Byte[] instead of the actual object type. Hence ClassCastException

      java.lang.ClassCastException : [B



      Is there anyway to solve the issue by making changes in the JBoss settings rather than from code. A quick response will be appreciated. Thank you