This content has been marked as final.
Show 1 reply
-
1. Re: Primary key class logical mapping warning
moj0002 Jan 14, 2004 12:20 PM (in response to moj0002)It seems that the sql statement can't find the column in the create table statement for the PRIMARY KEY. It does not have the name of the columns I specified in the Primary key class.
org.jboss.deployment.DeploymentException: Error while creating table; - nested throwable: (java.sql.
SQLException: Unexpected token: ) in statement [CREATE TABLE CHILD (Document INTEGER NOT NULL,
CHILD_NAME VARCHAR(256),
CHILD_YOB INTEGER NOT NULL,
CHILD_MOB INTEGER NOT NULL,
CHILD_DAY INTEGER NOT NULL,
CHILD_REC_ID INTEGER NOT NULL,
CONSTRAINT PK_CHILD PRIMARY KEY ())])