[jboss-user] [Beginners Corner] - Unable to read large BLOB values from MySQL db

Neelma do-not-reply at jboss.com
Fri Mar 14 01:22:21 EDT 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136512#4136512

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136512



More information about the jboss-user mailing list