0 Replies Latest reply on Dec 18, 2002 4:36 PM by Collin

    CMP beans not creating tables correctly

    Collin Novice


      I am trying to get my CMP entity beans to deploy, creating their own tables if they do not exist. However, I keep running into this error from mysql when the tables deploy:

      15:09:00,000 ERROR [JDBCCommand] Exception caught executing SQL
      java.sql.SQLException: Invalid argument value: Too big column length for
      column 'userId' (max = 255)
      . Use BLOB instead
      at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source)

      What is the best way to get around this? I'd like to keep from having to manually create tables wherever possible.