1 Reply Latest reply on Feb 7, 2002 11:36 PM by Nacha

    Problem with saving Object to Mysql using CMP

    Nacha Newbie

      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