org.hsqldb.util.DataAccessPointException: Unexpected token: PRIMARY in statement \[CREATE TABLE dcicategory(dciId VARCHAR Default '' NOT NULL ,title VARCHAR,dciD escription LONGVARCHAR,showtext INTEGER Default 0,comment LONGVARCHAR,sortOrder INTEGER Default 0,categoryType INTEGER Default 0,submittedBy VARCHAR,Object\_Time stamp BIGINT, CONSTRAINT PRIMARY PRIMARY KEY (dciId) )\]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via hsqldb by blevinson
, 1 year ago
Unexpected token: PRIMARY in statement \[CREATE TABLE dcicategory(dciId VARCHAR Default '' NOT NULL ,title VARCHAR,dciD escription LONGVARCHAR,showtext INTEGER Default 0,comment LONGVARCHAR,sortOrder INTEGER Default 0,categoryType INTEGER Default 0,submittedBy VARCHAR,Object\_Time stamp BIGINT, CONSTRAINT PRIMARY\]
via hsqldb by jimcaprioli
, 1 year ago
Unexpected token: PRIMARY in statement \[CREATE TABLE galaxia\_activities(activityId  INTEGER IDENTITY ,name VARCHAR,nor malized\_name VARCHAR,pId INTEGER DEFAULT 0 NOT NULL ,type CHAR(10),isAutoRouted CHAR(1),flowNum INTEGER,isInteractive CHAR(1),lastModif INTEGER,description LONG VARCHAR, CONSTRAINT PRIMARY\]
org.hsqldb.util.DataAccessPointException: Unexpected token: PRIMARY in statement \[CREATE TABLE dcicategory(dciId VARCHAR Default '' NOT NULL ,title VARCHAR,dciD escription LONGVARCHAR,showtext INTEGER Default 0,comment LONGVARCHAR,sortOrder INTEGER Default 0,categoryType INTEGER Default 0,submittedBy VARCHAR,Object\_Time stamp BIGINT, CONSTRAINT PRIMARY PRIMARY KEY (dciId) )\]
at org.hsqldb.util.TransferDb.execute(Unknown Source)
at org.hsqldb.util.TransferTable.transferStructure(Unknown Source)
at org.hsqldb.util.Transfer.transfer(Unknown Source)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.