3 Replies Latest reply on Aug 28, 2001 4:51 AM by Michael Simons

    Problem when deploying CD example with mySQL

    Michael Simons Newbie

      [using JBoss 2.4.0beta, mySQL 3.23.40]

      The CD example works fine with the default database.
      But when I use mySQL, I get the following error in the log:

      [JAWS] java.sql.SQLException: Invalid argument value: Too big column length for column 'artist' (max = 255). Use BLOB instead

      BUT I can't see the mistake, "artist" in the CDBean is a java.lang.String and the mySQL mapping in standardjaws.xml maps this to "varchar(255) binary"

      So why does JBoss/JAWS try to create a column with more than 255 characters?

      thanks in advance, michael