Hi,
I try to insert object to a column in database(Mysql) via entitybean(CMP).The object I try to save is Integer class.
It is work but when I restart JBOSS.I access to that object again I got the following error in my client.
java.lang.ClassCastException: [B
at CreditCardClient.main(CreditCardClient.java:20)
It might be a problem when JBOSS commit data to Database when shutdown.Do u guys have any idea how to solve this problem?
Thanks in advance,
Apophis
Or does anyone have idea how to save array of integer to database via EntityBean