1 Reply Latest reply on Nov 1, 2003 2:25 PM by Juha Lindfors

    Creating of the table for a CMP entity bean

    vincent2 Newbie

      Hello

      I developed a little application with an entity bean with container managed persistense using eclipse (2.1) and jboss-ide and mysql (3.23). (JBoss 3.2.1)
      After deploying my application, I get the following exception:
      " org.jboss.deployment.DeploymentException: Error while creating table; - nested throwable: (java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax near ' CONSTRAINT pk_DB PRIMARY KEY ())' at line 1") ".

      Has anybody a solution for this problem?