0 Replies Latest reply on Jun 9, 2003 6:03 AM by Rikard Eriksen

    SQLException, please help

    Rikard Eriksen Newbie

      I'm using Jboss 3.2.1 and XDoclet 1.1. When JBoss starts up, I get this kind of error for every SQL-sentence:

      (java.sql.SQLException: Unexpected token: ) in statement [CREATE TABLE
      USERBUSSTOPDISTANCE (userID INTEGER, busstopName VARCHAR(100), distance DECIMAL
      (6,2), timestamp TIMESTAMP, CONSTRAINT PK_USERBUSSTOPDISTANCE PRIMARY KEY ())])

      And I have no clue how to get rid of that extra ")". What is wrong?