2 Replies Latest reply on Oct 30, 2003 7:01 PM by Charlton Barreto

    Sun's Smart Ticket Blueprint and JBoss

    Qasim Newbie

      I am trying to deploy Sun's blueprint (Smart Ticket) onto Jboss.

      When I deploy smallticket onto Jboss, I get the errors regarding the primary key being too long:

      "
      ERROR [org.jboss.ejb.EntityContainer] Starting failed
      org.jboss.deployment.DeploymentException:

      Error while creating table; - nested throwable: (java.sql.SQLException: Invalid argument value: Specified key was too long. Max key length is 500

      "

      The error is thrown for 2 EJBs whose primary key is aserialised object.

      any idea how I can get rid of this error without having to change the code.

      Also, how can I control the length of a primary key in CMP.